/* Service pages share the established CALDREN header, buttons, and palette. */
.service-page {
  color: var(--ink);
  background: var(--paper);
}

.service-page .site-header {
  background: rgba(255, 254, 250, .96);
}

.detail-hero {
  padding: clamp(8rem, 12vw, 11rem) 0 clamp(4rem, 6vw, 6rem);
  background: linear-gradient(135deg, var(--paper), var(--mist));
}

.detail-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .86fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: clamp(2rem, 4vw, 4rem);
  color: #52625b;
  font-size: .85rem;
}

.breadcrumbs a { text-decoration: underline; text-underline-offset: 4px; }
.breadcrumbs a:hover { color: var(--leaf); }
.detail-eyebrow, .detail-kicker {
  margin: 0 0 1rem;
  color: var(--leaf);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.detail-hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 630;
  line-height: 1.05;
  letter-spacing: -.05em;
}

.detail-lead {
  max-width: 650px;
  margin: 1.5rem 0 0;
  color: #3c514c;
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.65;
}

.detail-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.detail-actions .button, .detail-contact-actions .button { justify-content: center; min-height: 52px; }
.detail-language { margin: 1.4rem 0 0; color: #54635e; font-size: .92rem; }
.detail-photo { margin: 0; position: relative; align-self: stretch; min-height: 470px; overflow: hidden; background: #dfe8dc; }
.detail-photo img { width: 100%; height: 100%; position: absolute; object-fit: cover; }
.detail-photo figcaption { position: absolute; inset: auto 0 0; padding: 2rem 1.5rem 1.2rem; color: white; background: linear-gradient(transparent, rgba(11, 24, 23, .64)); font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.detail-section { padding: clamp(4rem, 8vw, 7rem) 0; background: var(--paper); }
.detail-section-light { background: #f0f5ef; }
.detail-two-col { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: clamp(2rem, 7vw, 7rem); }
.detail-section h2, .detail-related h2, .detail-contact h2 { margin: 0 0 1.5rem; max-width: 620px; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.13; letter-spacing: -.04em; }
.detail-section p, .detail-contact p { max-width: 650px; color: #3d514a; font-size: 1.05rem; line-height: 1.75; }
.detail-signs { list-style: none; padding: 0; margin: 0; }
.detail-signs li { padding: 1.1rem 1rem 1.1rem 2rem; border-bottom: 1px solid #cbdad0; position: relative; font-size: 1.1rem; line-height: 1.5; }
.detail-signs li::before { content: ''; position: absolute; top: 1.67rem; left: .45rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--leaf); }
.detail-rich p:first-child { margin-top: 0; }
.detail-rich .detail-note { border-left: 3px solid var(--brass); padding: .85rem 0 .85rem 1.3rem; color: #334c45; background: rgba(208, 166, 108, .08); }
.detail-process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.detail-process li { padding: 2rem; border-top: 3px solid var(--leaf); background: white; min-height: 180px; }
.detail-process strong, .detail-process span { display: block; }
.detail-process strong { margin-bottom: 1rem; font-size: 1.25rem; }
.detail-process span { color: #4b5f57; line-height: 1.6; }
.detail-related { padding: clamp(3.5rem, 6vw, 5rem) 0; color: #fff; background: var(--teal); }
.detail-related .detail-kicker, .detail-contact .detail-kicker { color: #d5b681; }
.detail-related-grid, .detail-contact-grid { display: grid; grid-template-columns: .9fr 1fr; gap: clamp(2rem, 8vw, 8rem); align-items: center; }
.detail-related-links { display: grid; gap: 0; }
.detail-related-links a { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem .3rem; border-bottom: 1px solid rgba(255,255,255,.3); font-size: 1.1rem; }
.detail-related-links a:hover { color: #d5b681; }
.detail-contact { padding: clamp(4rem, 7vw, 7rem) 0; background: #142b29; color: #fff; }
.detail-contact p { color: #d0ddcf; }
.detail-contact-actions { display: grid; gap: .75rem; }
.detail-contact-actions .button-whatsapp { color: #fff; background: var(--leaf); }
.detail-contact-actions > a:last-child { padding: 1rem; text-align: center; text-decoration: underline; text-underline-offset: 4px; }
.detail-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 3rem 0; color: #eef1e9; }
.detail-footer img { max-width: 190px; height: auto; }
.detail-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.detail-footer nav a { text-decoration: underline; text-underline-offset: 4px; }
.detail-footer p { margin: 0; }
.detail-footer .footer-hours { flex-basis: 100%; text-align: center; }
.service-page .mobile-contact-dock a:last-child { color: #fff; background: var(--leaf); }

@media (max-width: 960px) {
  .detail-hero-grid { grid-template-columns: 1fr; }
  .detail-photo { min-height: 400px; }
  .detail-two-col { gap: 1.5rem; }
  .service-page .primary-nav { background: #fffefa; }
}

@media (max-width: 640px) {
  .detail-hero { padding-top: 6.7rem; padding-bottom: 3.5rem; }
  .breadcrumbs { margin-bottom: 2rem; }
  .detail-actions { display: grid; }
  .detail-actions .button { width: 100%; }
  .detail-photo { min-height: 260px; aspect-ratio: 4 / 3; }
  .detail-two-col, .detail-related-grid, .detail-contact-grid { grid-template-columns: 1fr; }
  .detail-process { grid-template-columns: 1fr; }
  .detail-process li { min-height: 0; }
  .detail-footer { display: grid; }
  .detail-footer nav { gap: 1rem 1.5rem; }
}

/* Lighting landing page: a real-project portfolio within the CALDREN system. */
.lighting-page-hero { background: linear-gradient(125deg, #e6eee8, #f4f2ea 65%); }
.lighting-page-hero .detail-photo { min-height: 550px; }
.lighting-page-hero .detail-photo img { object-position: 50% 50%; }
.lighting-page-hero .detail-eyebrow { color: #8b6339; }
.lighting-page-hero .detail-actions .button-secondary { background: #fff; }
.lighting-proof { padding: 1.7rem 0; color: #fff; background: var(--teal); }
.lighting-proof-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.lighting-proof p { display: grid; gap: .3rem; margin: 0; padding-left: 1.1rem; border-left: 2px solid var(--brass-light); }
.lighting-proof strong { font-size: .9rem; }
.lighting-proof span { color: #d4e3dc; font-size: .77rem; line-height: 1.5; }
.lighting-proof a { text-decoration: underline; text-underline-offset: 3px; }
.lighting-section-intro { max-width: 760px !important; }
.lighting-gallery { display: grid; grid-template-columns: 1.2fr .8fr; gap: .8rem; margin-top: 2.2rem; }
.lighting-gallery figure { position: relative; min-height: 360px; margin: 0; overflow: hidden; background: #183736; }
.lighting-gallery .lighting-gallery-wide { grid-row: span 2; min-height: 730px; }
.lighting-gallery img { display: block; width: 100%; height: 100%; position: absolute; object-fit: cover; }
.lighting-gallery .lighting-gallery-wide img { object-position: 48% 50%; }
.lighting-gallery figcaption { position: absolute; inset: auto 0 0; padding: 2rem 1.2rem 1rem; color: #fff; background: linear-gradient(transparent, rgba(7,24,23,.84)); font-weight: 700; }
.lighting-type-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.lighting-type-grid article { min-height: 240px; padding: 2rem; background: #e7eee7; border-top: 3px solid var(--brass); }
.lighting-type-grid span { color: #8b6339; font-size: .8rem; font-weight: 800; }
.lighting-type-grid h3 { margin: 1.2rem 0 .7rem; font-size: 1.35rem; }
.lighting-type-grid p { margin: 0; font-size: .98rem; line-height: 1.6; }
.detail-rich h3 { margin: 1.5rem 0 .4rem; font-size: 1.25rem; }
.detail-rich h3:first-child { margin-top: 0; }
.lighting-detail-image { margin: 2.2rem 0 0; }
.lighting-detail-image img { display: block; width: 100%; max-height: 360px; object-fit: cover; object-position: 50% 42%; }
.lighting-detail-image figcaption { padding: .6rem 0; color: #4a5e56; font-size: .8rem; }
.lighting-process { grid-template-columns: repeat(4, 1fr); }
.lighting-process li { padding: 1.5rem; }
.lighting-process-note { margin-top: 2rem; padding-left: 1rem; border-left: 3px solid var(--brass); }
.lighting-page-hero + .lighting-proof { position: relative; z-index: 2; }
.lighting-demo { background: #e5eee8; }
.lighting-demo .detail-kicker { color: #825f37; }
.lighting-demo .detail-rich p { color: #344a42; }
.lighting-demo .detail-actions { margin-top: 1.5rem; }
.lighting-demo .lighting-demo-note { margin-top: 1.5rem; color: #53685e; font-size: .86rem; }
@media (max-width: 960px) {
  .lighting-page-hero .detail-photo { min-height: 400px; }
  .lighting-type-grid, .lighting-process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .lighting-page-hero .detail-photo { min-height: 260px; }
  .lighting-proof-inner, .lighting-type-grid, .lighting-process { grid-template-columns: 1fr; }
  .lighting-gallery { grid-template-columns: 1fr; }
  .lighting-gallery figure, .lighting-gallery .lighting-gallery-wide { grid-row: auto; min-height: 300px; }
  .lighting-gallery .lighting-gallery-wide { min-height: 380px; }
  .lighting-type-grid article { min-height: 0; }
}
