/* ==========================================================================
   ELYSIAN — Luxury Home Interior Design System (by WebnNets)
   Fully responsive across 320px, 375px, 425px, 768px, 1024px, 1440px
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Italianno&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --bg-primary: #FAF7F2;
  --bg-secondary: #F3EFEA;
  --bg-card: #FFFFFF;
  --bg-dark: #1C1814;
  --bg-dark-card: #27221C;
  --bg-dark-soft: #2E2822;

  --color-primary: #1C1814;
  --color-secondary: #6B6258;
  --color-muted: #8E8479;
  --color-light: #FAF7F2;
  --color-light-muted: #D5CEC4;

  --color-accent: #C5A059;
  --color-accent-hover: #B38E46;
  --color-accent-soft: rgba(197, 160, 89, 0.15);

  --border-light: rgba(28, 24, 20, 0.08);
  --border-medium: rgba(28, 24, 20, 0.14);
  --border-dark: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 12px rgba(28, 24, 20, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(28, 24, 20, 0.08);
  --shadow-lg: 0 20px 45px -15px rgba(28, 24, 20, 0.12);
  --shadow-xl: 0 30px 60px -20px rgba(28, 24, 20, 0.18);

  /* Border Radius */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  /* Layout */
  --container-max: 1320px;
  --header-height: 84px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--color-primary);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button {
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Accessibility */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(1rem, 4vw, 2.5rem);
  padding-right: clamp(1rem, 4vw, 2.5rem);
}

/* Typography Helpers */
.font-serif {
  font-family: var(--font-serif);
}

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

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(197, 160, 89, 0.12);
  border: 1px solid rgba(197, 160, 89, 0.28);
  color: #8c6a28;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.eyebrow-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--color-secondary);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

.section-padding {
  padding-top: clamp(3.5rem, 8vw, 7rem);
  padding-bottom: clamp(3.5rem, 8vw, 7rem);
}

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-size: 0.925rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all var(--transition-normal);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  text-align: center;
}

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

.btn-primary:hover {
  background-color: #332B24;
  border-color: #332B24;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -8px rgba(28, 24, 20, 0.4);
}

.btn-accent {
  background-color: var(--color-accent);
  color: #1C1814;
  border: 1px solid var(--color-accent);
  font-weight: 600;
}

.btn-accent:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -8px rgba(197, 160, 89, 0.5);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--border-medium);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: #FAF7F2;
  border-color: var(--color-primary);
  transform: translateY(-2px);
}

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

.btn-white:hover {
  background-color: #F3EFEA;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.15);
}

.btn-arrow-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow-icon {
  transform: translateX(4px);
}

/* ==========================================================================
   TOPBAR & HEADER
   ========================================================================== */
.top-notice-bar {
  background: #15120F;
  color: rgba(250, 247, 242, 0.85);
  font-size: 0.78rem;
  padding: 0.45rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-notice-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-notice-left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-notice-left a, .top-notice-left span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(250, 247, 242, 0.8);
}

.top-notice-left a:hover {
  color: var(--color-accent);
}

.top-notice-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.top-notice-right a {
  color: rgba(250, 247, 242, 0.7);
}

.top-notice-right a:hover {
  color: var(--color-accent);
}

.header-main {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1000;
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-normal);
}

.header-main.scrolled {
  background: rgba(250, 247, 242, 0.98);
  box-shadow: 0 8px 25px -5px rgba(28, 24, 20, 0.06);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  color: var(--color-primary);
  text-transform: uppercase;
  line-height: 1;
}

.brand-by {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-item {
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--color-secondary);
  position: relative;
  padding: 0.35rem 0;
  letter-spacing: 0.01em;
}

.nav-item:hover,
.nav-item.active {
  color: var(--color-primary);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1.5px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-phone-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-primary);
}

.nav-phone-link:hover {
  color: var(--color-accent);
}

/* Mobile Toggle */
.mobile-toggle-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 1px solid var(--border-light);
  gap: 5px;
  z-index: 1001;
}

.mobile-toggle-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-primary);
  transition: all var(--transition-fast);
}

.mobile-toggle-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 380px;
  height: 100vh;
  background: var(--bg-primary);
  z-index: 999;
  padding: 6rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.15);
  transition: right var(--transition-normal);
  overflow-y: auto;
}

.mobile-drawer.active {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(28, 24, 20, 0.4);
  backdrop-filter: blur(4px);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-primary);
  font-weight: 500;
  display: block;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.75rem;
}

.mobile-nav-link.active {
  color: var(--color-accent);
}

.mobile-drawer-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-drawer-contact {
  font-size: 0.85rem;
  color: var(--color-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   HERO SECTION (Reference Image 1)
   ========================================================================== */
.hero-section {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: radial-gradient(circle at 50% 20%, rgba(243, 239, 234, 0.8), transparent 70%);
  text-align: center;
  position: relative;
}

.hero-content {
  max-width: 820px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 6vw, 4.75rem);
  line-height: 1.08;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-secondary);
  max-width: 600px;
  margin: 0 auto 2.25rem;
  line-height: 1.55;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.hero-image-wrapper {
  position: relative;
  border-radius: clamp(14px, 2vw, 24px);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: #EFE9E0;
}

.hero-image-wrapper img {
  width: 100%;
  height: clamp(320px, 55vw, 680px);
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.hero-image-wrapper:hover img {
  transform: scale(1.02);
}

.hero-floating-pill {
  position: absolute;
  bottom: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
  font-size: 0.825rem;
  font-weight: 500;
}

.hero-floating-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2E7D32;
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.2);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0.4); }
  70% { box-shadow: 0 0 0 8px rgba(46, 125, 50, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 125, 50, 0); }
}

/* ==========================================================================
   BUILT ON TRUST SECTION (Reference Image 1)
   ========================================================================== */
.trust-section {
  background: var(--bg-primary);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-top: 3.5rem;
}

.trust-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.trust-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.trust-card-img-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #EAE4DC;
}

.trust-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.trust-card:hover .trust-card-img-wrap img {
  transform: scale(1.06);
}

.trust-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.trust-card-stat {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1;
  color: var(--color-primary);
  margin-bottom: 0.45rem;
}

.trust-card-title {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.45rem;
}

.trust-card-desc {
  font-size: 0.85rem;
  color: var(--color-secondary);
  line-height: 1.5;
}

/* Alternate Trust Layout matching reference (Card 1 & 2 image on top, 3 & 4 text on top) */
.trust-card.reverse-flow {
  flex-direction: column-reverse;
}

/* ==========================================================================
   ELITE INTERIOR WORKS CAROUSEL (Reference Image 1)
   ========================================================================== */
.carousel-section {
  background: var(--bg-secondary);
  position: relative;
}

.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2.75rem;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.carousel-nav-arrows {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.carousel-arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-medium);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.carousel-arrow-btn:hover {
  background: var(--color-primary);
  color: #FAF7F2;
  border-color: var(--color-primary);
  transform: scale(1.05);
}

.carousel-arrow-btn.active-dark {
  background: var(--color-primary);
  color: #FAF7F2;
}

.carousel-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.carousel-track {
  display: flex;
  gap: clamp(1rem, 2vw, 1.5rem);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 calc(25% - 1.15rem);
  min-width: 280px;
}

.project-card {
  position: relative;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-card-image {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
  background: #E8E2D9;
}

.project-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

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

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(28, 24, 20, 0.75) 100%);
  opacity: 0.9;
  transition: opacity var(--transition-normal);
}

.project-card-info {
  padding: 1.25rem 1.5rem;
  background: var(--bg-card);
}

.project-card-meta {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.project-card-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.25;
}

/* ==========================================================================
   PHILOSOPHY SPOTLIGHT: "WHERE IDEAS MEET ART" (Reference Image 1)
   ========================================================================== */
.philosophy-section {
  background: var(--bg-primary);
}

.split-spotlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.spotlight-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.spotlight-media img {
  width: 100%;
  height: clamp(340px, 45vw, 540px);
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.spotlight-media:hover img {
  transform: scale(1.03);
}

.spotlight-badge-corner {
  position: absolute;
  top: 1.5rem;
  left: 1.5rem;
  background: rgba(250, 247, 242, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.spotlight-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.spotlight-title {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.25rem);
  line-height: 1.15;
  font-weight: 400;
  margin-bottom: 1.25rem;
}

.spotlight-desc {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--color-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.spotlight-feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  width: 100%;
}

.spotlight-feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.925rem;
  color: var(--color-primary);
  font-weight: 500;
}

.spotlight-feature-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ==========================================================================
   TAILORED SOLUTIONS (Reference Image 1)
   ========================================================================== */
.solutions-section {
  background: var(--bg-secondary);
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 2rem);
  margin-top: 3.5rem;
  margin-bottom: 3rem;
}

.solution-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.solution-img-box {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #E8E2D9;
}

.solution-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.solution-card:hover .solution-img-box img {
  transform: scale(1.06);
}

.solution-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.solution-number {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.solution-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.solution-card-text {
  font-size: 0.875rem;
  color: var(--color-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.solution-link {
  margin-top: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.solution-link:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   COZY INTERIOR ANIMATED HERO (Reference Image 2 DEV.UN Style)
   ========================================================================== */
.cozy-banner-section {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-xl);
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.cozy-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: filter 1s ease, transform 12s cubic-bezier(0.25, 1, 0.5, 1);
  transform: scale(1.02);
}

.cozy-banner-section:hover .cozy-banner-bg {
  transform: scale(1.06);
}

/* Ambient Sunbeam & Shadow Sway Animation */
.cozy-sunbeam-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 65% 30%, rgba(255, 245, 220, 0.28) 0%, transparent 60%);
  mix-blend-mode: overlay;
  pointer-events: none;
  animation: sunbeamPulse 8s ease-in-out infinite alternate;
}

@keyframes sunbeamPulse {
  0% { opacity: 0.5; transform: scale(0.98) translate(-10px, -5px); }
  50% { opacity: 0.85; transform: scale(1.03) translate(10px, 8px); }
  100% { opacity: 0.6; transform: scale(1) translate(0, 0); }
}

/* Moving shadow leaves overlay */
.cozy-shadow-leaf-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(28, 24, 20, 0.18) 60%, transparent 90%);
  pointer-events: none;
  animation: leafShadowSway 10s ease-in-out infinite alternate;
}

@keyframes leafShadowSway {
  0% { transform: translate(-15px, -8px) skewX(0deg); opacity: 0.4; }
  100% { transform: translate(15px, 8px) skewX(2deg); opacity: 0.7; }
}

/* Atmospheric Mood States */
.cozy-banner-section.mood-golden .cozy-banner-bg {
  filter: brightness(0.96) contrast(1.08) sepia(0.18) saturate(1.2);
}

.cozy-banner-section.mood-night .cozy-banner-bg {
  filter: brightness(0.55) contrast(1.2) hue-rotate(185deg) saturate(0.85);
}

.cozy-banner-section.mood-night .cozy-banner-overlay {
  background: linear-gradient(135deg, rgba(10, 15, 25, 0.72) 0%, rgba(15, 20, 35, 0.45) 50%, rgba(8, 12, 20, 0.8) 100%);
}

.cozy-banner-section.mood-daylight .cozy-banner-bg {
  filter: brightness(1.02) contrast(1.02) saturate(1.05);
}

.cozy-banner-section.mood-daylight .cozy-banner-overlay {
  background: linear-gradient(135deg, rgba(28, 24, 20, 0.2) 0%, rgba(28, 24, 20, 0.08) 50%, rgba(28, 24, 20, 0.35) 100%);
}

.cozy-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(28, 24, 20, 0.4) 0%, rgba(28, 24, 20, 0.15) 50%, rgba(28, 24, 20, 0.55) 100%);
  transition: background 0.8s ease;
}

/* Main Content Layer */
.cozy-banner-main {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(2rem, 5vw, 4.5rem) 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

/* Top Floating Mood Switcher */
.cozy-mood-bar {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(28, 24, 20, 0.45);
  backdrop-filter: blur(14px);
  padding: 0.35rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 2rem;
  width: fit-content;
}

.mood-btn {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(250, 247, 242, 0.8);
  letter-spacing: 0.05em;
  transition: all var(--transition-fast);
}

.mood-btn:hover, .mood-btn.active {
  background: #FAF7F2;
  color: var(--color-primary);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* Editorial Typography (Exact Match to DEV.UN Reference) */
.cozy-headline-block {
  margin-left: auto;
  text-align: right;
  max-width: 720px;
}

.cozy-title-editorial {
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 7.5vw, 5.8rem);
  line-height: 0.95;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #FAF7F2;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 25px rgba(0, 0, 0, 0.3);
}

.cozy-title-editorial span {
  display: block;
}

.cozy-phone-editorial {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 4.5vw, 3.4rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #FAF7F2;
  display: block;
  margin-bottom: 2.25rem;
  transition: all var(--transition-fast);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.cozy-phone-editorial:hover {
  color: #dfb76c;
  transform: translateX(-6px);
}

/* Golden Angled Button (Exact Match to DEV.UN Image Reference) */
.btn-gold-angled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  background-color: #dfb76c;
  color: #1C1814;
  font-family: var(--font-sans);
  font-size: 0.925rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 1rem 2.4rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  border: none;
  box-shadow: 0 10px 30px -5px rgba(223, 183, 108, 0.5);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-gold-angled::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-gold-angled:hover::before {
  left: 100%;
}

.btn-gold-angled:hover {
  background-color: #ecc97f;
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 15px 35px -5px rgba(223, 183, 108, 0.7);
}

.btn-gold-angled i {
  font-size: 0.95rem;
  transition: transform var(--transition-fast);
}

.btn-gold-angled:hover i {
  transform: translate(3px, -3px);
}

/* Bottom Note (Left Side in DEV.UN Reference) */
.cozy-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.cozy-subnote {
  font-size: clamp(0.85rem, 1.25vw, 1rem);
  color: rgba(250, 247, 242, 0.9);
  max-width: 380px;
  line-height: 1.6;
  font-weight: 400;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Reference Image 2 Bottom Navigation Strip */
.cozy-ref-bottombar {
  position: relative;
  z-index: 2;
  background: rgba(20, 17, 14, 0.85);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 0.85rem clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.ref-brand-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.ref-brand-logo {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #FAF7F2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.ref-nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  flex-wrap: wrap;
}

.ref-nav-link {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.75);
  transition: color var(--transition-fast);
}

.ref-nav-link:hover {
  color: #dfb76c;
}

.ref-credits-right {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.55);
}

.ref-credits-right span {
  color: #dfb76c;
  font-weight: 600;
}

/* ==========================================================================
   ANIMATED RUNNING MARQUEE TICKER RIBBON
   ========================================================================== */
.marquee-ribbon {
  background: #1C1814;
  color: rgba(250, 247, 242, 0.9);
  padding: 1rem 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  user-select: none;
}

.marquee-content {
  display: inline-flex;
  gap: 2.5rem;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-ribbon:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
}

.marquee-star {
  color: var(--color-accent);
  font-size: 0.75rem;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Carousel Timeline Progress Bar */
.carousel-progress-track {
  width: 140px;
  height: 3px;
  background: var(--border-medium);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.carousel-progress-bar {
  height: 100%;
  width: 25%;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width 0.4s ease;
}

/* ==========================================================================
   MEET OUR EXPERTS (Reference Image 1)
   ========================================================================== */
.team-section {
  background: var(--bg-primary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-top: 3.5rem;
}

.team-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-medium);
}

.team-img-wrap {
  position: relative;
  width: 100%;
  height: 310px;
  overflow: hidden;
  background: #EAE4DC;
}

.team-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.team-card:hover .team-img-wrap img {
  transform: scale(1.05);
}

.team-body {
  padding: 1.35rem 1.25rem 1.5rem;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 0.825rem;
  color: var(--color-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   WORDS OF TRUST / TESTIMONIALS (Reference Image 1)
   ========================================================================== */
.testimonials-section {
  background: var(--bg-secondary);
}

.testimonial-card-split {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  margin-top: 3rem;
}

.testimonial-photo-side {
  position: relative;
  min-height: 380px;
  background: #E8E2D9;
}

.testimonial-photo-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content-side {
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-stars {
  display: flex;
  gap: 0.35rem;
  color: #D4AF37;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.45;
  color: var(--color-primary);
  font-style: italic;
  font-weight: 400;
  margin-bottom: 2rem;
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.author-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
}

.author-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
}

.author-title {
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* ==========================================================================
   BEFORE & AFTER INTERACTIVE SLIDER
   ========================================================================== */
.before-after-container {
  position: relative;
  width: 100%;
  height: clamp(340px, 45vw, 540px);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  margin-top: 3rem;
  user-select: none;
}

.ba-image-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.ba-image-before {
  background-image: url('../images/project-5.jpg');
  filter: grayscale(80%) brightness(0.85);
}

.ba-image-after {
  background-image: url('../images/hero-bg.jpg');
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
  transition: clip-path 0.05s linear;
}

.ba-badge {
  position: absolute;
  top: 1.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(28, 24, 20, 0.7);
  color: #FAF7F2;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.ba-badge-before { right: 1.5rem; }
.ba-badge-after { left: 1.5rem; z-index: 3; }

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #FFFFFF;
  z-index: 4;
  cursor: ew-resize;
  transform: translateX(-50%);
}

.ba-handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 0.85rem;
}

/* ==========================================================================
   FOOTER (Reference Image 1 Luxury Dark Style)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-dark);
  color: var(--color-light);
  padding-top: clamp(4rem, 7vw, 6.5rem);
  padding-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  margin-bottom: 4rem;
}

.footer-col-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: #FAF7F2;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-newsletter-text {
  font-size: 0.9rem;
  color: var(--color-light-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.newsletter-form {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.45rem 0.35rem 1.25rem;
  transition: border-color var(--transition-fast);
}

.newsletter-form:focus-within {
  border-color: var(--color-accent);
}

.newsletter-input {
  flex-grow: 1;
  color: #FAF7F2;
  font-size: 0.875rem;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #FAF7F2;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.newsletter-btn:hover {
  background: var(--color-accent);
  color: #1C1814;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-link {
  font-size: 0.9rem;
  color: var(--color-light-muted);
  transition: color var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--color-accent);
  padding-left: 4px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: var(--color-light-muted);
  line-height: 1.5;
}

.footer-contact-item i {
  color: var(--color-accent);
  margin-top: 3px;
  flex-shrink: 0;
}

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

.footer-middle-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin-bottom: 2.5rem;
}

.footer-giant-brand-row {
  text-align: center;
  margin-bottom: 2rem;
  user-select: none;
}

.footer-giant-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 15vw, 12rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.06);
  line-height: 0.9;
  text-transform: uppercase;
  transition: color var(--transition-normal);
}

.footer-giant-title:hover {
  color: rgba(197, 160, 89, 0.12);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: rgba(255, 255, 255, 0.45);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer-bottom-links a:hover {
  color: var(--color-accent);
}

/* ==========================================================================
   MODALS (PROJECT PREVIEW & CONSULTATION MODAL)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 24, 20, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-medium);
  transform: translateY(20px) scale(0.96);
  transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-secondary);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 10;
  transition: all var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--color-primary);
  color: #FAF7F2;
}

.modal-body-padding {
  padding: clamp(1.5rem, 4vw, 3rem);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.45rem;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  font-size: 0.925rem;
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--color-accent);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px var(--color-accent-soft);
}

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

/* ==========================================================================
   PAGE HERO FOR SUBPAGES (About, Services, Portfolio, Team, Contact)
   ========================================================================== */
.subpage-hero {
  padding-top: clamp(3rem, 6vw, 5.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  background: radial-gradient(circle at 50% 10%, rgba(243, 239, 234, 0.9), transparent 80%);
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

.subpage-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  font-weight: 400;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.subpage-hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-secondary);
  max-width: 650px;
  margin: 0 auto;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--color-primary);
  color: #FAF7F2;
  border-color: var(--color-primary);
}

/* Interactive Calculator */
.calc-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
  max-width: 860px;
  margin: 0 auto;
}

/* FAQ Accordion */
.accordion-item {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.accordion-item.active {
  border-color: var(--color-accent);
}

.accordion-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-primary);
}

.accordion-icon {
  font-size: 0.9rem;
  transition: transform var(--transition-fast);
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
  color: var(--color-accent);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding: 0 1.5rem;
  color: var(--color-secondary);
  font-size: 0.925rem;
  line-height: 1.6;
}

.accordion-item.active .accordion-content {
  padding-bottom: 1.5rem;
}

/* Toast Notification */
.toast-notice {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--color-primary);
  color: #FAF7F2;
  padding: 1rem 1.75rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-xl);
  z-index: 3000;
  transform: translateY(100px);
  opacity: 0;
  transition: all var(--transition-normal);
  font-size: 0.9rem;
}

.toast-notice.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   ANIMATIONS & REVEALS
   ========================================================================== */
.fade-up-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up-element.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   STRICT RESPONSIVENESS (320px, 375px, 425px, 768px, 1024px)
   NO ELEMENT TRUNCATION OR OVERFLOW EVER!
   ========================================================================== */

/* Tablet (1024px and below) */
@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .carousel-slide {
    flex: 0 0 calc(50% - 0.75rem);
  }

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

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

  .split-spotlight {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Tablet Portrait & Large Mobile (768px and below) */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .mobile-toggle-btn {
    display: flex;
  }

  .top-notice-bar {
    display: none; /* Hide top bar on mobile to prioritize viewport space */
  }

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

  .testimonial-card-split {
    grid-template-columns: 1fr;
  }

  .testimonial-photo-side {
    min-height: 260px;
    height: 260px;
  }

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

  .carousel-slide {
    flex: 0 0 85%;
  }

  .cozy-banner-section {
    min-height: auto;
  }

  .cozy-headline-block {
    text-align: left;
    margin-left: 0;
  }

  .cozy-title-editorial {
    font-size: 2.6rem;
  }

  .cozy-phone-editorial {
    font-size: 1.85rem;
    margin-bottom: 1.5rem;
  }

  .cozy-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .cozy-ref-bottombar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .ref-nav-links {
    gap: 1rem;
  }
}

/* Medium Mobile (425px and below) */
@media (max-width: 425px) {
  .trust-grid {
    grid-template-columns: 1fr;
  }

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

  .carousel-slide {
    flex: 0 0 92%;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-floating-pill {
    position: static;
    margin: 1rem auto 0;
    width: fit-content;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .btn {
    padding: 0.75rem 1.4rem;
    font-size: 0.875rem;
  }
}

/* Standard Mobile (375px and below) */
@media (max-width: 375px) {
  .brand-title {
    font-size: 1.45rem;
  }

  .brand-by {
    font-size: 0.58rem;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .section-padding {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .carousel-arrow-btn {
    width: 40px;
    height: 40px;
  }
}

/* Smallest Mobile (320px) — Strictly tested */
@media (max-width: 320px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .brand-title {
    font-size: 1.3rem;
    letter-spacing: 0.15em;
  }

  .btn {
    padding: 0.7rem 1.15rem;
    font-size: 0.825rem;
    gap: 0.4rem;
  }

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

  .section-title {
    font-size: 1.85rem;
  }

  .trust-card-body {
    padding: 1.15rem;
  }

  .trust-card-stat {
    font-size: 2rem;
  }

  .cozy-banner-title {
    font-size: 1.85rem;
  }

  .cozy-banner-phone {
    font-size: 1.35rem;
    word-break: break-all;
  }

  .testimonial-content-side {
    padding: 1.5rem 1rem;
  }

  .testimonial-quote {
    font-size: 1.1rem;
  }

  .modal-body-padding {
    padding: 1.25rem 0.85rem;
  }

  .mobile-drawer {
    width: 85%;
    padding: 5rem 1.25rem 2rem;
  }

  .mobile-nav-link {
    font-size: 1.45rem;
  }
}

/* ==========================================================================
   DEV.UN ANIMATED SHOWCASE DESIGN (From Pinterest Reference 957929783241001681)
   ========================================================================== */

/* --- 1. MINIMALIST PRELOADER ANIMATION --- */
.devun-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.85s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.devun-preloader.loaded {
  transform: translateY(-100%);
  pointer-events: none;
}

.devun-preloader-content {
  text-align: center;
  max-width: 420px;
  width: 90%;
  padding: 2rem;
}

.devun-preloader-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.devun-preloader-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.devun-preloader-title {
  font-family: var(--font-sans);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #1C1814;
}

.devun-preloader-title sup {
  font-size: 0.75rem;
  font-weight: 400;
  top: -0.6em;
}

.devun-preloader-bar {
  width: 100%;
  max-width: 220px;
  height: 2px;
  background: rgba(28, 24, 20, 0.1);
  margin: 0 auto 1.5rem;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.devun-preloader-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: #1C1814;
  transition: width 0.04s linear;
}

.devun-preloader-counter {
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  font-weight: 300;
  color: #1C1814;
  letter-spacing: 0.06em;
  line-height: 1;
}

/* --- 2. HERO SECTION (DEV.UN ARCHITECTURAL LAYOUT) --- */
.devun-hero-section {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  background: #FAF7F2;
  position: relative;
  overflow: hidden;
}

.devun-hero-giant-title {
  font-family: var(--font-sans);
  font-size: clamp(3.8rem, 15vw, 13rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 0.88;
  text-align: center;
  text-transform: uppercase;
  color: #1C1814;
  margin: 0 0 clamp(1.5rem, 3vw, 2.75rem);
  user-select: none;
  animation: devunFadeSlideDown 1.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.devun-hero-grid {
  display: grid;
  grid-template-columns: 280px 1fr 240px;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  position: relative;
}

.devun-hero-left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: devunFadeSlideUp 1s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.devun-hero-subheading {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.35;
  color: #1C1814;
}

.devun-estimate-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background-color: #d1a877;
  color: #1C1814;
  font-family: var(--font-sans);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 1.6rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
  width: fit-content;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px -6px rgba(209, 168, 119, 0.5);
}

.devun-estimate-btn:hover {
  background-color: #dfb76c;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px -4px rgba(209, 168, 119, 0.7);
}

.devun-estimate-btn i {
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.devun-estimate-btn:hover i {
  transform: translate(2px, -2px);
}

.devun-hero-visual-card {
  position: relative;
  display: flex;
  justify-content: center;
  animation: devunZoomReveal 1.2s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.devun-hero-img-wrap {
  position: relative;
  width: 100%;
  max-width: 680px;
  height: clamp(340px, 42vw, 520px);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(28, 24, 20, 0.15);
}

.devun-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.devun-hero-img-wrap:hover .devun-hero-img {
  transform: scale(1.035);
}

.devun-card-frame-lines {
  position: absolute;
  inset: -10px;
  border: 1px solid rgba(28, 24, 20, 0.2);
  pointer-events: none;
  transition: inset 0.4s ease, border-color 0.4s ease;
}

.devun-hero-img-wrap:hover .devun-card-frame-lines {
  inset: -14px;
  border-color: #d1a877;
}

.devun-hero-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  gap: 1rem;
  animation: devunFadeSlideUp 1s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.devun-category-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-family: var(--font-sans);
  font-size: 0.825rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #6B6258;
  text-transform: uppercase;
}

.devun-script-accent {
  font-family: 'Italianno', cursive, serif;
  font-size: 3.4rem;
  color: #8E8479;
  line-height: 0.9;
  margin-top: 0.25rem;
  user-select: none;
  transform: rotate(-4deg);
}

/* --- 3. COMMON DEV.UN SECTION HEADINGS --- */
.devun-section-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: flex-end;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(28, 24, 20, 0.12);
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.devun-eyebrow-left {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6B6258;
  line-height: 1.45;
}

.devun-title-asymmetric {
  display: flex;
  flex-direction: column;
}

.devun-title-asymmetric .word-our {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  font-weight: 300;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #1C1814;
  line-height: 1;
}

.devun-title-asymmetric .word-main {
  font-family: var(--font-sans);
  font-size: clamp(3.2rem, 9vw, 8rem);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1C1814;
  line-height: 0.9;
}

/* --- 4. DEV.UN SERVICES SECTION --- */
.devun-services-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #FAF7F2;
}

.devun-services-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(3.5rem, 6vw, 5.5rem);
}

.devun-service-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.devun-service-row.reverse {
  grid-template-columns: 1fr 1.1fr;
}

.devun-service-row.reverse .service-meta-col {
  order: 2;
}

.devun-service-row.reverse .service-visual-col {
  order: 1;
}

.service-meta-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.service-num {
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 200;
  color: #D5CEC4;
  line-height: 1;
  letter-spacing: 0.05em;
}

.service-name {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1C1814;
}

.service-text {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  color: #6B6258;
  line-height: 1.75;
  max-width: 540px;
}

.service-frame-box {
  position: relative;
  width: 100%;
  height: clamp(280px, 32vw, 420px);
  overflow: visible;
}

.service-frame-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 15px 40px -10px rgba(28, 24, 20, 0.1);
}

.service-frame-box .frame-accent-line {
  position: absolute;
  inset: -12px;
  border: 1px solid rgba(28, 24, 20, 0.18);
  pointer-events: none;
  transition: inset 0.4s ease, border-color 0.4s ease;
}

.service-frame-box:hover img {
  transform: scale(1.02);
}

.service-frame-box:hover .frame-accent-line {
  inset: -18px;
  border-color: #d1a877;
}

/* --- 5. DEV.UN ABOUT COMPANY / STATS SECTION --- */
.devun-about-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #F3EFEA;
  position: relative;
}

.devun-about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.devun-about-visual-side {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.vertical-brand-watermark {
  font-family: var(--font-sans);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 800;
  letter-spacing: 0.28em;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: transparent;
  -webkit-text-stroke: 1px rgba(28, 24, 20, 0.2);
  user-select: none;
  line-height: 1;
}

.about-masonry-gallery {
  display: flex;
  gap: 1.5rem;
  width: 100%;
}

.about-img-box {
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 45px -12px rgba(28, 24, 20, 0.12);
}

.about-img-box.img-tall {
  width: 55%;
  height: clamp(340px, 38vw, 480px);
}

.about-img-box.img-wide {
  width: 45%;
  height: clamp(280px, 30vw, 380px);
  margin-top: auto;
}

.about-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img-box:hover img {
  transform: scale(1.04);
}

.devun-about-stats-side {
  display: flex;
  flex-direction: column;
  gap: 2.75rem;
}

.devun-stat-block {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(28, 24, 20, 0.1);
}

.devun-stat-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.stat-big-num {
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 300;
  color: #1C1814;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-big-label {
  font-family: var(--font-sans);
  font-size: clamp(1.1rem, 1.8vw, 1.45rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1C1814;
}

.stat-body-desc {
  font-size: clamp(0.92rem, 1.05vw, 1.02rem);
  color: #6B6258;
  line-height: 1.7;
  max-width: 500px;
}

/* --- 6. DEV.UN PORTFOLIO SHOWCASE SLIDER --- */
.devun-portfolio-section {
  padding: clamp(4rem, 8vw, 7rem) 0;
  background: #FAF7F2;
}

.devun-portfolio-tabs {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.5rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(28, 24, 20, 0.12);
  padding-bottom: 1rem;
  flex-wrap: wrap;
}

.portfolio-tab-btn {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0.25rem;
  font-family: var(--font-sans);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.3s ease;
}

.portfolio-tab-btn .tab-index {
  font-size: 0.85rem;
  font-weight: 400;
  color: #8E8479;
}

.portfolio-tab-btn .tab-title {
  font-size: clamp(0.9rem, 1.2vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8E8479;
  transition: color 0.3s ease;
}

.portfolio-tab-btn.active .tab-index,
.portfolio-tab-btn.active .tab-title {
  color: #1C1814;
}

.portfolio-tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 0;
  width: 0%;
  height: 2px;
  background: #d1a877;
  transition: width 0.35s ease;
}

.portfolio-tab-btn.active::after {
  width: 100%;
}

.devun-portfolio-slide {
  display: none;
  animation: devunFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.devun-portfolio-slide.active {
  display: block;
}

.portfolio-slide-header {
  display: grid;
  grid-template-columns: 1fr 260px 140px;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: clamp(2rem, 3.5vw, 3rem);
}

.portfolio-slide-title {
  font-family: var(--font-sans);
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1C1814;
  margin-bottom: 0.85rem;
}

.portfolio-slide-desc {
  font-size: clamp(0.92rem, 1.1vw, 1.05rem);
  color: #6B6258;
  line-height: 1.75;
  max-width: 620px;
}

.portfolio-meta-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding-left: 1.5rem;
  border-left: 1px solid rgba(28, 24, 20, 0.12);
}

.portfolio-meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.portfolio-meta-item .meta-label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8E8479;
}

.portfolio-meta-item .meta-value {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1C1814;
}

.portfolio-number-col {
  text-align: right;
}

.portfolio-giant-num {
  font-family: var(--font-sans);
  font-size: clamp(3.5rem, 7vw, 6rem);
  font-weight: 200;
  color: #D5CEC4;
  line-height: 0.9;
  letter-spacing: 0.05em;
}

.portfolio-photos-grid.layout-triptych {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 1.5rem;
  height: clamp(400px, 48vw, 540px);
}

.photo-cell {
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px -10px rgba(28, 24, 20, 0.12);
}

.photo-cell.cell-tall {
  grid-row: 1 / span 2;
  height: 100%;
}

.photo-cell.cell-wide-top,
.photo-cell.cell-wide-bottom {
  height: 100%;
}

.photo-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-cell:hover img {
  transform: scale(1.035);
}

/* --- 7. DEV.UN ANIMATED COZY BANNER WITH REAL VIDEO --- */
.devun-cozy-container {
  padding-top: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.devun-cozy-banner {
  position: relative;
  border-radius: clamp(16px, 2.5vw, 28px);
  overflow: hidden;
  min-height: clamp(540px, 68vh, 760px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 35px 80px -20px rgba(28, 24, 20, 0.35);
  background: #25201A;
}

.devun-cozy-video,
.devun-cozy-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  animation: cozySlowDrift 20s infinite alternate ease-in-out;
}

@keyframes cozySlowDrift {
  0% { transform: scale(1); }
  100% { transform: scale(1.06) translate(-1%, -1%); }
}

.devun-cozy-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(135deg, rgba(28, 24, 20, 0.35) 0%, rgba(28, 24, 20, 0.1) 40%, rgba(28, 24, 20, 0.5) 100%);
  pointer-events: none;
}

.devun-cozy-content {
  position: relative;
  z-index: 3;
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  flex: 1;
}

.devun-cozy-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.85);
  line-height: 1.4;
  margin-bottom: 2rem;
}

.devun-cozy-editorial-wrap {
  margin-left: auto;
  text-align: right;
  max-width: 820px;
}

.devun-cozy-headline {
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 8vw, 6.5rem);
  line-height: 0.92;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: #FAF7F2;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.devun-cozy-headline span {
  display: block;
}

.devun-cozy-phone {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 4.5vw, 3.6rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  color: #FAF7F2;
  display: block;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.devun-cozy-phone:hover {
  color: #dfb76c;
  transform: translateX(-8px);
}

.devun-cozy-bottom-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: auto;
  flex-wrap: wrap;
}

.devun-cozy-note {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  color: rgba(250, 247, 242, 0.95);
  max-width: 400px;
  line-height: 1.6;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.devun-bottom-nav {
  position: relative;
  z-index: 3;
  background: rgba(20, 17, 14, 0.88);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem clamp(1.5rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.devun-bottom-nav .bottom-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #FAF7F2;
}

.devun-bottom-nav .bottom-links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  flex-wrap: wrap;
}

.devun-bottom-nav .bottom-links a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.75);
  transition: color 0.25s ease;
}

.devun-bottom-nav .bottom-links a:hover {
  color: #dfb76c;
}

.devun-bottom-nav .bottom-credits {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250, 247, 242, 0.6);
}

.devun-bottom-nav .bottom-credits span {
  color: #dfb76c;
  font-weight: 600;
}

/* --- KEYFRAME ANIMATIONS --- */
@keyframes devunFadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes devunFadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes devunZoomReveal {
  0% {
    opacity: 0;
    transform: scale(0.92);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes devunFadeIn {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- RESPONSIVE BREAKPOINTS FOR DEV.UN LAYOUT --- */
@media (max-width: 1024px) {
  .devun-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2.5rem;
  }

  .devun-hero-left {
    align-items: center;
    order: 2;
  }

  .devun-hero-visual-card {
    order: 1;
  }

  .devun-hero-right {
    align-items: center;
    text-align: center;
    order: 3;
  }

  .portfolio-slide-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .portfolio-meta-col {
    padding-left: 0;
    border-left: none;
    flex-direction: row;
    gap: 2rem;
  }

  .devun-about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .vertical-brand-watermark {
    display: none;
  }
}

@media (max-width: 768px) {
  .devun-section-head {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .devun-service-row,
  .devun-service-row.reverse {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .devun-service-row.reverse .service-meta-col,
  .devun-service-row.reverse .service-visual-col {
    order: initial;
  }

  .portfolio-photos-grid.layout-triptych {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    height: auto;
  }

  .photo-cell.cell-tall,
  .photo-cell.cell-wide-top,
  .photo-cell.cell-wide-bottom {
    height: 240px;
  }

  .devun-cozy-editorial-wrap {
    text-align: left;
  }

  .devun-bottom-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
