/* Deera v16: spacing and readability consolidation. Loaded after v14.
   Styling-only: no JavaScript, contact API or form field changes. */
:root { --v16-ink:#202e43; --v16-muted:#526175; --v16-line:#e5dfd3; --v16-paper:#f7f4ee; }
html {scroll-padding-top:78px;}
body {overflow-x:clip;}
body :is(h1,h2,h3,h4,h5,h6) {overflow-wrap:normal;word-break:normal;line-break:strict;}
/* Undo artificially large section minimums introduced in v12. */
body.deera-home-v10 > :is(.features,.services,.difference-home,.about,.pricing-faq,.contact-section,.deera-v9-section),
body.deera-home-v10 > .deera-v9-section:not(.deera-v9-note) {
  min-height:0 !important;
}
body.deera-home-v10 > :is(.features,.services,.difference-home,.about,.pricing-faq,.contact-section,.deera-v9-section) {
  padding-top:clamp(3.8rem,5.2vw,5.7rem) !important;
  padding-bottom:clamp(3.8rem,5.2vw,5.7rem) !important;
}
body.deera-home-v10 > .deera-v9-note {
  padding-top:clamp(3rem,4.1vw,4.3rem) !important;
  padding-bottom:clamp(3rem,4.1vw,4.3rem) !important;
}
/* Avoid oversized type/vertical gaps between headings and first content. */
.deera-home-v10 :is(.section-title,.deera-v9-title,.about-heading) {
  font-size:clamp(1.65rem,2.35vw,2.35rem);
  line-height:1.5;
  letter-spacing:.045em;
  max-width:100%;
  margin-bottom:.75rem;
}
.deera-home-v10 :is(.section-label,.deera-v9-eyebrow,.about-label){
  margin-bottom:.55rem;
}
.deera-home-v10 :is(.section-title-line,.about-divider){margin:.9rem auto 1.65rem;}
.deera-home-v10 :is(.section-container,.deera-v9-inner,.about-inner) {max-width:1120px;}
.deera-home-v10 .deera-v9-grid {gap:.9rem;}
.deera-home-v10 .deera-v11-worry {min-height:0 !important;padding:1.15rem 1.25rem;}
.deera-home-v10 .deera-v11-worry h3 {font-size:1rem;line-height:1.7;}
.deera-home-v10 .deera-v9-actions {margin-top:1.55rem;}
/* Strengths: coherent three-row composition rather than large empty band. */
.deera-home-v10 .features-grid {max-width:900px;gap:.85rem;margin:1.8rem auto 0;}
.deera-home-v10 .feature-item {box-shadow:none;border-radius:7px;}
.deera-home-v10 .feature-btn {min-height:0;padding:1.15rem 1.35rem;align-items:center;}
.deera-home-v10 .feature-number {font-size:.98rem;width:2rem;padding:0;}
.deera-home-v10 .feature-btn h3 {font-size:1.03rem;line-height:1.6;}
.deera-home-v10 .feature-item.open .feature-body {
  max-height:none;
  padding:.15rem 1.4rem 1.25rem;
}
.deera-home-v10 .feature-body p {font-size:.9rem;line-height:1.85;}
/* Difference section: remove excess whitespace, keep cards aligned. */
.deera-home-v10 .difference-home-lead {
  max-width:790px;
  margin:0 auto 1.8rem;
  font-size:.94rem;
  line-height:1.95;
}
.deera-home-v10 .difference-home-grid {gap:1rem;margin-bottom:1.55rem;}
.deera-home-v10 .difference-home-card {padding:1.45rem 1.35rem;box-shadow:none;}
.deera-home-v10 .difference-home-card h3 {font-size:1.12rem;line-height:1.65;}
.deera-home-v10 .difference-home-card p {font-size:.88rem;line-height:1.85;}
/* Services: desktop two columns are scoped to the explorer only.
   Old CSS made the whole section-container a grid and split headings. */
.deera-home-v10 .services .section-container {
  display:block !important;
  max-width:1080px;
  grid-template-columns:none !important;
  grid-template-areas:none !important;
}
.deera-home-v10 .services .section-label,
.deera-home-v10 .services .section-title,
.deera-home-v10 .services .section-title-line,
.deera-home-v10 .services .deera-v11-service-guide {
  display:block;
  text-align:center;
  margin-left:auto;
  margin-right:auto;
}
.deera-home-v10 .services .deera-v11-service-guide {
  max-width:650px;
  margin-bottom:1.65rem;
  font-size:.92rem;
}
.deera-home-v10 .services-explorer {
  display:grid;
  grid-template-columns:minmax(190px,240px) minmax(0,1fr);
  gap:1.25rem;
  align-items:start;
}
.deera-home-v10 .services-panel-area {min-width:0;}
.deera-home-v10 .client-tabs {
  display:flex;
  flex-direction:column;
  flex-wrap:nowrap;
  gap:.45rem;
  background:#fcfaf6;
  padding:.55rem;
  border:1px solid var(--v16-line);
  border-radius:8px;
  position:static;
  margin:0;
}
.deera-home-v10 .client-tab {
  display:block;
  width:100%;
  min-height:0;
  text-align:left;
  padding:.86rem .9rem;
  font-size:.92rem;
  border-radius:5px;
  white-space:normal;
}
.deera-home-v10 .client-panel {padding:.55rem 1rem;border-radius:8px;}
.deera-home-v10 .svc-item {margin:0;border:0;border-bottom:1px solid var(--v16-line);border-radius:0;}
.deera-home-v10 .svc-item + .svc-item {margin:0;}
.deera-home-v10 .svc-item:last-child{border-bottom:0;}
.deera-home-v10 .svc-btn {min-height:0;padding:1.05rem .65rem;gap:.85rem;}
.deera-home-v10 .svc-icon {width:39px;height:39px;flex:0 0 39px;}
.deera-home-v10 .svc-btn-text h3 {font-size:.98rem;line-height:1.55;}
.deera-home-v10 .svc-btn-text p {font-size:.81rem;line-height:1.6;}
.deera-home-v10 .svc-item.open .svc-body {max-height:none;padding:0 .65rem 1.05rem;}
.deera-home-v10 .svc-body-inner {padding:.85rem 0 0;gap:.85rem;}
.deera-home-v10 .svc-body-inner p {font-size:.87rem;line-height:1.85;}
/* About, note, pricing and contact: eliminate the long empty blocks. */
.deera-home-v10 .about-message-grid {margin-top:1.8rem;gap:2rem;}
.deera-home-v10 .about-block {padding:.7rem 0;}
.deera-home-v10 .about-text-col {gap:.4rem;}
.deera-home-v10 .deera-v9-note .deera-v9-title {max-width:790px;margin-inline:auto;}
.deera-home-v10 .dual-section {gap:2rem;}
.deera-home-v10 .pricing-box {padding:2rem 1.7rem;}
.deera-home-v10 .faq-item {margin-bottom:.65rem;}
.deera-home-v10 .faq-question {padding:1rem 1.2rem;}
/* Keep contact readable even if legacy CSS overrides heading colors. */
body.deera-home-v10 .contact-section {background:var(--v16-paper) !important;}
body.deera-home-v10 .contact-section .section-title,
body.deera-home-v10 .contact-section .contact-info h3 {color:var(--v16-ink) !important;}
body.deera-home-v10 .contact-section .section-subtitle,
body.deera-home-v10 .contact-section .contact-info p,
body.deera-home-v10 .contact-section .contact-detail-text span {color:var(--v16-muted) !important;opacity:1;}
body.deera-home-v10 .contact-section .contact-detail-text strong {color:#72552a !important;}
.deera-home-v10 .contact-section .section-subtitle {margin-bottom:1.8rem;}
.deera-home-v10 .contact-grid {gap:1.25rem;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);}
.deera-home-v10 .contact-info,.deera-home-v10 .contact-form {
  padding:1.65rem 1.75rem;
  border-radius:9px;
  box-shadow:none;
  background:#fff;
}
.deera-home-v10 .contact-info p {margin-bottom:1.3rem;}
.deera-home-v10 .contact-detail {margin-bottom:.8rem;padding-bottom:.8rem;}
.deera-home-v10 .form-group {margin-bottom:1.15rem;}
.deera-home-v10 .form-group input,
.deera-home-v10 .form-group select,
.deera-home-v10 .form-group textarea {min-height:44px;}
@media (max-width:900px) {
  .deera-home-v10 .services-explorer {grid-template-columns:1fr;}
  .deera-home-v10 .client-tabs {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
  .deera-home-v10 .contact-grid {grid-template-columns:1fr;}
  .deera-home-v10 .difference-home-grid {grid-template-columns:1fr;}
}
@media (max-width:600px) {
  body.deera-home-v10 > :is(.features,.services,.difference-home,.about,.pricing-faq,.contact-section,.deera-v9-section) {
    min-height:0 !important;
    padding-top:3.25rem !important;
    padding-bottom:3.25rem !important;
  }
  body.deera-home-v10 > .deera-v9-note {padding-block:2.9rem !important;}
  .deera-home-v10 :is(.section-title,.deera-v9-title,.about-heading) {font-size:clamp(1.5rem,6vw,1.85rem);}
  .deera-home-v10 .services-explorer {gap:.8rem;}
  .deera-home-v10 .client-tabs {gap:.4rem;padding:.45rem;}
  .deera-home-v10 .client-tab {font-size:.84rem;line-height:1.55;padding:.7rem .6rem;}
  .deera-home-v10 .client-panel {padding:.25rem .7rem;}
  .deera-home-v10 .svc-btn {padding:.9rem .2rem;}
  .deera-home-v10 .svc-body-inner {flex-direction:column;align-items:flex-start;}
  .deera-home-v10 .difference-home-card {padding:1.2rem 1.15rem;}
  .deera-home-v10 .contact-info,.deera-home-v10 .contact-form {padding:1.3rem 1.15rem;}
  .deera-home-v10 .form-row {grid-template-columns:1fr;gap:0;}
}

/* v16.1 layout repair: stop legacy v11/v13 grid placement escaping the explorer.
   This file is loaded last; these rules intentionally reset old grid-area assignments. */
body.deera-home-v10 #services > .section-container {
  display: block !important;
  width: 100%;
  grid-template: none !important;
  grid-template-areas: none !important;
}
body.deera-home-v10 #services .services-explorer {
  display: grid !important;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  grid-template-columns: minmax(205px, 250px) minmax(0, 1fr) !important;
  grid-template-rows: auto !important;
  grid-template-areas: "categories details" !important;
  align-items: start;
  gap: clamp(1rem, 2.2vw, 1.75rem);
}
body.deera-home-v10 #services .services-explorer > .client-tabs {
  display: flex !important;
  flex-direction: column;
  flex-wrap: nowrap;
  grid-area: categories !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: stretch;
  align-self: start;
  min-width: 0;
  width: 100%;
  margin: 0;
  position: static;
}
body.deera-home-v10 #services .services-explorer > .services-panel-area {
  grid-area: details !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  min-width: 0;
  width: 100%;
  display: block;
}
body.deera-home-v10 #services .services-panel-area > .client-panel {
  grid-area: auto !important;
  grid-column: auto !important;
  grid-row: auto !important;
  min-width: 0;
  width: 100%;
  margin: 0;
}
body.deera-home-v10 #services .services-panel-area > .client-panel:not(.active) {
  display: none !important;
}
body.deera-home-v10 #services .services-panel-area > .client-panel.active {
  display: block !important;
}
/* Strict collapsed state: legacy padding on closed panels revealed clipped lines. */
body.deera-home-v10 .features .feature-item:not(.open) .feature-body {
  display: none !important;
  max-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.deera-home-v10 .features .feature-item.open .feature-body {
  display: block !important;
  max-height: none !important;
  overflow: visible;
  padding: .15rem 1.4rem 1.15rem !important;
}
body.deera-home-v10 .features .feature-item .feature-btn {
  align-items: center;
  min-height: 66px;
}
body.deera-home-v10 .features .feature-item .feature-btn h3 {
  margin: 0;
  line-height: 1.6;
}
body.deera-home-v10 .features .features-grid {
  margin-top: 1.5rem;
}
@media (max-width: 900px) {
  body.deera-home-v10 #services .services-explorer {
    grid-template-columns: minmax(0, 1fr) !important;
    grid-template-areas: "categories" "details" !important;
    grid-template-rows: auto auto !important;
  }
  body.deera-home-v10 #services .services-explorer > .client-tabs {
    grid-area: categories !important;
    grid-column: 1 !important;
    grid-row: 1 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
  }
  body.deera-home-v10 #services .services-explorer > .services-panel-area {
    grid-area: details !important;
    grid-column: 1 !important;
    grid-row: 2 !important;
  }
}
@media (max-width: 440px) {
  body.deera-home-v10 #services .services-explorer > .client-tabs {
    grid-template-columns: minmax(0, 1fr);
  }
}
