/* ==========================================================================
   PYROCRAFT TECHNOLOGIES — BENTO GRID STYLESHEET (PRODUCTION REBUILD)
   Design System:
     - Warm Ivory Background: #F7F3EC
     - Deep Navy Headings & Footer: #0B1F33
     - Ember Orange Primary Accent: #E8590C
     - Amber Secondary Accent: #F59E0B
     - Dark Grey Body Text: #1F2A37
     - Tile Background: #FFFFFF with crisp border #E5E0D8
     - Bento Grid Layout with Ember Top-Bar Accents
     - Smooth transitions, premium micro-interactions, responsive stacking
   ========================================================================== */

:root {
  --bg-ivory: #F7F3EC;
  --text-navy: #0B1F33;
  --accent-ember: #E8590C;
  --accent-ember-hover: #D14D06;
  --accent-amber: #F59E0B;
  --text-body: #1F2A37;
  --text-muted: #4B5563;
  --tile-bg: #FFFFFF;
  --tile-border: #E5E0D8;
  --tile-border-hover: #D1C9BD;
  --tile-radius: 18px;
  --card-shadow: 0 4px 20px -2px rgba(11, 31, 51, 0.05), 0 2px 6px -1px rgba(11, 31, 51, 0.03);
  --card-shadow-hover: 0 16px 32px -4px rgba(11, 31, 51, 0.1), 0 4px 12px -2px rgba(11, 31, 51, 0.06);
  --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-ivory);
  color: var(--text-body);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--text-body);
}

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

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

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Sticky Navigation */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(247, 243, 236, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--tile-border);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(11, 31, 51, 0.08);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-text {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-navy);
}

.brand-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: rgba(232, 89, 12, 0.12);
  color: var(--accent-ember);
  padding: 3px 9px;
  border-radius: 999px;
  letter-spacing: 0.06em;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 16px;
}

.nav-link {
  position: relative;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-navy);
  padding: 6px 0;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--accent-ember);
  border-radius: 2px;
  transition: width 0.22s ease-in-out;
}

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

.nav-cta-btn {
  background-color: var(--accent-ember);
  color: #FFFFFF !important;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(232, 89, 12, 0.25);
  transition: var(--transition-smooth);
}

.nav-cta-btn:hover {
  background-color: var(--accent-ember-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232, 89, 12, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--text-navy);
  border-radius: 4px;
  transition: var(--transition-smooth);
}

/* Base Bento Tile Styling */
.bento-tile {
  background-color: var(--tile-bg);
  border: 1px solid var(--tile-border);
  border-radius: var(--tile-radius);
  position: relative;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.bento-tile:hover {
  border-color: var(--tile-border-hover);
  box-shadow: var(--card-shadow-hover);
  transform: translateY(-2px);
}

/* Top-Bar Accents */
.has-ember-bar {
  border-top: 4px solid var(--accent-ember) !important;
}

.has-amber-bar {
  border-top: 4px solid var(--accent-amber) !important;
}

.tile-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
}

.btn-primary {
  background-color: var(--accent-ember);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(232, 89, 12, 0.28);
}

.btn-primary:hover {
  background-color: var(--accent-ember-hover);
  border-color: var(--accent-ember-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 89, 12, 0.38);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-navy);
  border-color: var(--text-navy);
}

.btn-outline:hover {
  background-color: var(--text-navy);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.btn-sm {
  font-size: 0.85rem;
  padding: 9px 18px;
  border-radius: 10px;
}

/* Section Header Typography */
.section {
  padding: 72px 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ember);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-navy);
  margin-bottom: 16px;
  letter-spacing: -0.025em;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 36px;
}

/* ==========================================================================
   HERO SECTION — 3-COLUMN BENTO GRID
   ========================================================================== */
.hero-section {
  padding: 40px 0 60px;
}

.hero-bento-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr 0.9fr;
  grid-template-rows: auto auto;
  gap: 20px;
}

/* 1. Large Photo Tile (left, row 1-3) */
.hero-tile-photo-main {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  min-height: 480px;
  position: relative;
}

.hero-tile-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-tile-photo-main:hover img {
  transform: scale(1.03);
}

.photo-overlay-card {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(11, 31, 51, 0.92) 0%, rgba(11, 31, 51, 0.5) 60%, transparent 100%);
  color: #FFFFFF;
}

.photo-overlay-card h3 {
  color: #FFFFFF;
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.photo-overlay-card p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
}

/* 2. Headline Tile (top-middle) */
.hero-tile-headline {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  background-color: #FFFFFF;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-ember);
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.hero-h1 {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--text-navy);
  margin-bottom: 14px;
  line-height: 1.2;
}

.hero-paragraph {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* 3. CTA Tile (top-right) */
.hero-tile-cta {
  grid-column: 3 / 4;
  grid-row: 1 / 2;
  background-color: #FFFFFF;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.hero-tile-cta .tile-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  text-align: center;
}

.hero-cta-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-navy);
  letter-spacing: -0.01em;
}

.hero-cta-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
  margin-bottom: 0;
}

.hero-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

/* 4. Solution-Steps Strip Tile (bottom-middle) */
.hero-tile-steps {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  background: linear-gradient(135deg, #FFFFFF 0%, #FAF7F2 100%);
  padding: 22px 28px;
}

.steps-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--accent-ember);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.steps-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-navy);
}

.step-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--accent-ember);
  color: #FFFFFF;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-arrow {
  color: var(--accent-ember);
  font-weight: bold;
}

/* 5. Problem One-Liner Tile + Second Photo (bottom-right) */
.hero-tile-problem-secondphoto {
  grid-column: 3 / 4;
  grid-row: 2 / 3;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-tile-problem {
  background-color: #0B1F33;
  color: #FFFFFF;
  border: none;
  padding: 20px;
}

.hero-tile-problem p {
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}

.hero-tile-photo-secondary {
  height: 125px;
  position: relative;
  border-radius: var(--tile-radius);
  overflow: hidden;
  border: 1px solid var(--tile-border);
}

.hero-tile-photo-secondary img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.hero-tile-photo-secondary:hover img {
  transform: scale(1.05);
}

/* ==========================================================================
   PROBLEM SECTION — BENTO TILES
   ========================================================================== */
.problem-bento-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  margin-bottom: 24px;
}

.problem-tile {
  display: flex;
  flex-direction: column;
  position: relative;
}

.problem-tile-image {
  height: 180px;
  width: 100%;
  overflow: hidden;
  position: relative;
}

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

.problem-tile:hover .problem-tile-image img {
  transform: scale(1.04);
}

.problem-tile-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.problem-tile-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 8px;
}

.problem-tile-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
}

.problem-tile-primary {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.problem-tile-primary .problem-tile-image {
  height: 230px;
}

.problem-tile-primary .problem-tile-title {
  font-size: 1.35rem;
}

.problem-closing-box {
  background: linear-gradient(135deg, #0B1F33 0%, #163654 100%);
  color: #FFFFFF;
  border-radius: 14px;
  padding: 24px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 10px;
  box-shadow: var(--card-shadow);
}

.problem-closing-text {
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
}

.problem-closing-text span {
  color: #FBBF24;
}

/* ==========================================================================
   FULL-WIDTH PHOTO BANDS
   ========================================================================== */
.photo-band {
  width: 100%;
  height: 380px;
  position: relative;
  overflow: hidden;
  margin: 30px 0;
}

.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82);
  transition: transform 0.8s ease;
}

.photo-band:hover img {
  transform: scale(1.02);
}

.photo-band-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 51, 0.45) 0%, rgba(11, 31, 51, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 24px;
}

.photo-band-title {
  color: #FFFFFF;
  font-size: 2.1rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.photo-band-sub {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.05rem;
  max-width: 650px;
}

/* ==========================================================================
   SOLUTION SECTION — 4 BENTO TILES (FIRST TILE LARGER)
   ========================================================================== */
.solution-bento-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
  margin-bottom: 30px;
}

.solution-tile {
  display: flex;
  flex-direction: column;
}

.solution-tile-image {
  height: 180px;
  overflow: hidden;
  position: relative;
}

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

.solution-tile:hover .solution-tile-image img {
  transform: scale(1.04);
}

.solution-tile-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.solution-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(232, 89, 12, 0.12);
  color: var(--accent-ember);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  width: fit-content;
  margin-bottom: 10px;
}

.solution-tile-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 8px;
}

.solution-tile-text {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
}

.solution-tile-measure {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
}

.solution-tile-measure .solution-tile-image {
  height: 240px;
}

.solution-tile-measure .solution-tile-title {
  font-size: 1.4rem;
}

/* Benefits Row */
.benefits-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.benefit-card {
  background-color: #FFFFFF;
  border: 1px solid var(--tile-border);
  border-radius: 14px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.benefit-card:hover {
  transform: translateY(-2px);
  border-color: var(--tile-border-hover);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(232, 89, 12, 0.1);
  color: var(--accent-ember);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.benefit-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-navy);
}

/* Rule of Thumb Box */
.rule-thumb-box {
  background-color: #FFFFFF;
  border-left: 4px solid var(--accent-ember);
  border-radius: 12px;
  padding: 22px 28px;
  box-shadow: var(--card-shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.rule-thumb-icon {
  font-size: 1.6rem;
  color: var(--accent-ember);
  line-height: 1;
}

.rule-thumb-content p {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-navy);
  line-height: 1.6;
}

/* ==========================================================================
   SERVICES SECTION — BENTO GRID (HEAT AUDIT WIDE TILE)
   ========================================================================== */
.services-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-tile-wide {
  grid-column: 1 / 4;
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
}

.service-tile-wide .service-image {
  height: 100%;
  min-height: 270px;
}

.service-tile {
  display: flex;
  flex-direction: column;
}

.service-image {
  height: 190px;
  overflow: hidden;
  position: relative;
}

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

.service-tile:hover .service-image img {
  transform: scale(1.04);
}

.service-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 8px;
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.service-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-btn {
  width: 100%;
}

/* ==========================================================================
   PROCESS SECTION — ONE WIDE BENTO TILE WITH 4 SMALL STEPS
   ========================================================================== */
.process-bento-wide {
  background-color: #FFFFFF;
  border: 1px solid var(--tile-border);
  border-radius: var(--tile-radius);
  padding: 36px 32px;
  box-shadow: var(--card-shadow);
  border-top: 4px solid var(--accent-ember);
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.process-step-card {
  background-color: #FAF7F2;
  border: 1px solid var(--tile-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.process-step-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent-ember);
}

.process-step-img {
  height: 130px;
  position: relative;
  overflow: hidden;
}

.process-step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.process-step-body {
  padding: 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.process-step-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 6px;
}

.process-step-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-ember);
  text-transform: uppercase;
}

.process-step-duration {
  font-size: 0.75rem;
  font-weight: 700;
  background-color: rgba(11, 31, 51, 0.08);
  padding: 2px 7px;
  border-radius: 6px;
  color: var(--text-navy);
}

.process-step-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 6px;
}

.process-step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.process-note {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  padding-top: 14px;
  border-top: 1px dashed var(--tile-border);
}

/* ==========================================================================
   TECHNOLOGY SECTION — BENTO TILES + WIDE PHOTO TILE
   ========================================================================== */
.tech-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.tech-tile {
  padding: 28px;
  display: flex;
  flex-direction: column;
}

.tech-tile-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(232, 89, 12, 0.1);
  color: var(--accent-ember);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.tech-tile-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 10px;
}

.tech-tile-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

.tech-wide-photo-tile {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 320px;
  overflow: hidden;
}

.tech-wide-photo-img {
  position: relative;
  height: 100%;
  min-height: 300px;
}

.tech-wide-photo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tech-wide-photo-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: #FFFFFF;
}

.tech-wide-photo-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 10px;
}

.tech-wide-photo-desc {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

.tech-band-bottom {
  background-color: #0B1F33;
  color: #FFFFFF;
  border-radius: 12px;
  padding: 20px 28px;
  margin-top: 20px;
  text-align: center;
  font-size: 0.98rem;
  font-weight: 600;
}

.tech-band-bottom span {
  color: var(--accent-amber);
}

/* ==========================================================================
   INDUSTRIES SECTION — ONE PHOTO PER INDUSTRY
   ========================================================================== */
.industries-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.industry-tile {
  position: relative;
  height: 320px;
  border-radius: var(--tile-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition-smooth);
}

.industry-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.industry-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.industry-tile:hover img {
  transform: scale(1.08);
}

.industry-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 31, 51, 0.1) 0%, rgba(11, 31, 51, 0.9) 85%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  color: #FFFFFF;
}

.industry-tile-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.industry-tile-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.4;
}

/* ==========================================================================
   BUSINESS MODEL SECTION (HOW WE WORK WITH YOU) — BENTO TILES
   ========================================================================== */
.business-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.business-tile {
  display: grid;
  grid-template-columns: 140px 1fr;
  overflow: hidden;
}

.business-tile-img {
  height: 100%;
  position: relative;
}

.business-tile-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.business-tile-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.business-tile-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 8px;
}

.business-tile-desc {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 14px;
}

/* ==========================================================================
   GALLERY SECTION — TWO BENTO GRIDS (18+ PHOTOS)
   ========================================================================== */
.gallery-section-title-wrap {
  text-align: center;
  margin-bottom: 30px;
}

.gallery-grid-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-navy);
  margin: 28px 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Grid 1: Bento Sizing Variations */
.gallery-bento-grid-1 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 175px;
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  cursor: pointer;
  background-color: #E2DDD5;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(11, 31, 51, 0.9) 0%, transparent 100%);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s ease;
}

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

.gallery-item.span-2x2 {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item.span-2x1 {
  grid-column: span 2;
  grid-row: span 1;
}

/* Grid 2: Second Bento Grid */
.gallery-bento-grid-2 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 195px;
  gap: 16px;
  margin-top: 16px;
}

/* Illustrative Imagery Caption */
.illustrative-caption {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  margin-top: 14px;
}

.photo-band-caption {
  position: absolute;
  bottom: 12px;
  right: 18px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
  background: rgba(11, 31, 51, 0.6);
  padding: 4px 10px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(11, 31, 51, 0.95);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.lightbox-caption {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-top: 14px;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ==========================================================================
   FAQ SECTION — BENTO TILES IN TWO COLUMNS
   ========================================================================== */
.faq-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.faq-tile {
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.faq-q {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-navy);
  margin-bottom: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.faq-q-badge {
  color: var(--accent-ember);
  font-weight: 800;
  font-size: 0.95rem;
}

.faq-a {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   TEAM SECTION — MONOGRAM TILES (ASR, KD, AG)
   Clean, modern, finished presentation
   ========================================================================== */
.team-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.team-tile {
  padding: 34px 26px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-monogram-circle {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0B1F33 0%, #1A3C5E 100%);
  color: #FFFFFF;
  font-size: 1.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px rgba(11, 31, 51, 0.15);
  border: 3px solid rgba(232, 89, 12, 0.4);
}

.team-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-navy);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-ember);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.team-responsibilities {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.team-email {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-navy);
  background-color: #FAF7F2;
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid var(--tile-border);
}

.team-email:hover {
  color: var(--accent-ember);
  border-color: var(--accent-ember);
}

/* ==========================================================================
   CTA SECTION & CONTACT SECTION — BENTO GRID
   ========================================================================== */
.big-cta-tile {
  position: relative;
  background-color: var(--accent-ember);
  border-radius: var(--tile-radius);
  overflow: hidden;
  padding: 64px 40px;
  text-align: center;
  color: #FFFFFF;
  margin-bottom: 40px;
  box-shadow: 0 12px 36px rgba(232, 89, 12, 0.28);
}

.big-cta-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  mix-blend-mode: multiply;
}

.big-cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}

.big-cta-title {
  color: #FFFFFF;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.big-cta-desc {
  color: rgba(255, 255, 255, 0.94);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

.big-cta-content .btn {
  background-color: #FFFFFF;
  color: var(--accent-ember);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.big-cta-content .btn:hover {
  background-color: #FAF7F2;
  color: var(--accent-ember-hover);
  transform: translateY(-2px);
}

/* Contact Bento Grid (Form WIDE, Details beside it) */
.contact-bento-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 24px;
}

.contact-form-tile {
  padding: 36px;
}

.contact-details-tile {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-color: #FFFFFF;
}

.form-group-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

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

.form-group label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-navy);
}

.form-input, .form-select, .form-textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--tile-border);
  background-color: #FAF7F2;
  color: var(--text-body);
  transition: var(--transition-smooth);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent-ember);
  background-color: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(232, 89, 12, 0.15);
}

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

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* Contact Details */
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: rgba(232, 89, 12, 0.1);
  color: var(--accent-ember);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.contact-info-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-navy);
  line-height: 1.45;
}

.cin-box {
  background-color: #FAF7F2;
  border: 1px solid var(--tile-border);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0;
}

.cin-title {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
}

.cin-code {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-navy);
  margin: 4px 0;
}

/* ==========================================================================
   FOOTER — DEEP NAVY #0B1F33
   ========================================================================== */
.site-footer {
  background-color: var(--text-navy);
  color: #FFFFFF;
  padding: 60px 0 30px;
  margin-top: 60px;
  border-top: 3px solid var(--accent-ember);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand h4 {
  color: #FFFFFF;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.footer-tagline {
  color: var(--accent-amber);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.footer-sub {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
  line-height: 1.5;
}

.footer-links-title {
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.88rem;
}

.footer-links a:hover {
  color: var(--accent-amber);
  padding-left: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.84rem;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MOBILE BENTO SINGLE COLUMN PRINCIPLE)
   ========================================================================== */
@media (max-width: 1140px) {
  .nav-menu {
    gap: 12px;
  }
  .nav-link {
    font-size: 0.82rem;
  }
  .nav-cta-btn {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}

@media (max-width: 980px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background-color: var(--bg-ivory);
    flex-direction: column;
    padding: 24px;
    border-bottom: 2px solid var(--tile-border);
    gap: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  }

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

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 1024px) {
  .hero-bento-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-tile-photo-main {
    grid-column: 1 / 3;
    grid-row: auto;
    min-height: 360px;
  }
  .hero-tile-headline {
    grid-column: 1 / 2;
    grid-row: auto;
  }
  .hero-tile-cta {
    grid-column: 2 / 3;
    grid-row: auto;
  }
  .hero-tile-steps {
    grid-column: 1 / 2;
    grid-row: auto;
  }
  .hero-tile-problem-secondphoto {
    grid-column: 2 / 3;
    grid-row: auto;
  }
  .services-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-tile-wide {
    grid-column: 1 / 3;
  }
  .industries-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-bento-grid-1 {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-bento-grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-bento-grid {
    grid-template-columns: 1fr;
  }
  .tech-wide-photo-tile {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Bento Single Column Stack */
  .hero-bento-grid,
  .problem-bento-grid,
  .solution-bento-grid,
  .services-bento-grid,
  .process-steps-grid,
  .tech-bento-grid,
  .industries-bento-grid,
  .business-bento-grid,
  .gallery-bento-grid-1,
  .gallery-bento-grid-2,
  .faq-bento-grid,
  .team-bento-grid,
  .contact-bento-grid,
  .footer-grid,
  .benefits-row {
    grid-template-columns: 1fr !important;
  }

  .hero-tile-photo-main,
  .hero-tile-headline,
  .hero-tile-cta,
  .hero-tile-steps,
  .hero-tile-problem-secondphoto,
  .service-tile-wide,
  .gallery-item.span-2x2,
  .gallery-item.span-2x1 {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
  }

  .service-tile-wide,
  .business-tile,
  .tech-wide-photo-tile {
    grid-template-columns: 1fr !important;
  }

  .service-tile-wide .service-image,
  .business-tile-img,
  .tech-wide-photo-img {
    height: 200px !important;
  }

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

  .hero-h1 {
    font-size: 1.85rem;
  }

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

  .big-cta-title {
    font-size: 1.8rem;
  }

  .steps-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .step-arrow {
    display: none;
  }

  .problem-closing-box {
    flex-direction: column;
    text-align: center;
  }
}
