/* ============================================================
   Layout for the Uttam Nagar page only.

   Loaded via $page_css from that one file, so nothing here can
   affect any other page on the site. Colours are taken from the
   existing brand palette: #D32F2F red, #F7941D orange,
   #553216 brown, #FAF3ED cream, #2B2D42 navy.
   ============================================================ */

.un-page {
  --un-red: #D32F2F;
  --un-orange: #F7941D;
  --un-brown: #553216;
  --un-cream: #FAF3ED;
  --un-navy: #2B2D42;
  --un-line: #e6ddd4;
}

/* ---------- Hero: banner image with the heading laid over it ---------- */
.un-hero {
  position: relative;
  background: var(--un-navy);
  overflow: hidden;
}
.un-hero__media {
  position: absolute;
  inset: 0;
}
.un-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.un-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(43, 45, 66, .985) 0%, rgba(43, 45, 66, .95) 38%, rgba(43, 45, 66, .72) 62%, rgba(43, 45, 66, .3) 100%);
}
.un-hero__inner {
  position: relative;
  z-index: 2;
  padding: 60px 0 64px;
}
.un-hero__tag {
  display: inline-block;
  background: var(--un-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 18px;
}
.un-hero h1 {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
}
.un-hero h1 .color-1 {
  color: var(--un-orange);
}
.un-hero__lead {
  color: #e3e6ee;
  font-size: 16px;
  line-height: 1.8;
  max-width: 620px;
  margin-bottom: 24px;
}
.un-hero__points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}
.un-hero__points li {
  color: #fff;
  font-size: 14.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 9px;
}
.un-hero__points li::before {
  content: "";
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: var(--un-orange) url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / 12px 12px;
}
.un-hero__note {
  color: #cfd3e0;
  font-size: 14.5px;
  line-height: 1.75;
  border-left: 3px solid var(--un-orange);
  padding-left: 16px;
  margin: 0;
  max-width: 620px;
}
.un-hero__form {
  background: #fff;
  border-radius: 12px;
  padding: 6px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
}
.un-hero__form .home-contact-form {
  margin: 0 !important;
  border-radius: 8px;
}

/* ---------- Numbered "why choose" strip ---------- */
.un-why {
  padding: 66px 0;
  background: var(--un-cream);
}
.un-head {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}
.un-head h3 {
  font-size: 27px;
  font-weight: 700;
  color: var(--un-brown);
  margin: 0 0 14px;
  text-transform: uppercase;
}
.un-head .un-rule {
  width: 68px;
  height: 3px;
  background: var(--un-orange);
  margin: 0 auto 18px;
  border-radius: 2px;
}
.un-head p {
  color: #5c5a57;
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
}
.un-head p a {
  color: var(--un-red);
  font-weight: 600;
}

.un-numbered {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.un-num-card {
  background: #fff;
  border-radius: 10px;
  padding: 30px 24px 26px;
  border-top: 3px solid var(--un-orange);
  position: relative;
  box-shadow: 0 2px 10px rgba(85, 50, 22, .06);
  transition: transform .18s ease, box-shadow .18s ease;
}
.un-num-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(85, 50, 22, .13);
}
.un-num-card__n {
  font-size: 40px;
  font-weight: 800;
  line-height: 1;
  color: var(--un-cream);
  -webkit-text-stroke: 1px var(--un-orange);
  margin-bottom: 12px;
  display: block;
}
.un-num-card h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--un-navy);
  margin: 0 0 10px;
  line-height: 1.35;
}
.un-num-card p {
  font-size: 14.5px;
  line-height: 1.75;
  color: #666;
  margin: 0;
}

/* ---------- Split section with an offset picture frame ---------- */
.un-split {
  padding: 72px 0;
}
.un-split__figure {
  position: relative;
  padding: 0 18px 18px 0;
}
.un-split__figure::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 72%;
  height: 72%;
  border: 3px solid var(--un-orange);
  border-radius: 10px;
  z-index: 0;
}
.un-split__figure img {
  position: relative;
  z-index: 1;
  border-radius: 10px;
  width: 100%;
  height: auto;
  box-shadow: 0 12px 30px rgba(85, 50, 22, .16);
}
.un-split h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--un-brown);
  line-height: 1.32;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.un-split p {
  font-size: 15px;
  line-height: 1.85;
  color: #5c5a57;
}
.un-split p a:not(.un-cta) {
  color: var(--un-red);
}

/* ---------- Pull-quote band ---------- */
.un-quote {
  background: var(--un-brown);
  color: #fff;
  padding: 66px 0;
  position: relative;
  overflow: hidden;
}
.un-quote::before {
  content: "\201C";
  position: absolute;
  top: -46px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 220px;
  line-height: 1;
  color: rgba(255, 255, 255, .07);
  font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
}
.un-quote__inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}
.un-quote h3 {
  font-size: 27px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: #fff;
}
.un-quote h3 .color-1 {
  color: var(--un-orange);
}
.un-quote .un-rule {
  width: 68px;
  height: 3px;
  background: var(--un-orange);
  margin: 0 auto 24px;
  border-radius: 2px;
}
.un-quote p {
  font-size: 16px;
  line-height: 1.9;
  color: #f0e7de;
}

/* ---------- Service cards ---------- */
.un-services {
  padding: 72px 0;
}
.un-svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.un-svc-card {
  border: 1px solid var(--un-line);
  border-radius: 10px;
  padding: 30px 26px;
  background: #fff;
  position: relative;
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.un-svc-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--un-red);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .22s ease;
}
.un-svc-card:hover {
  border-color: transparent;
  box-shadow: 0 14px 30px rgba(85, 50, 22, .12);
}
.un-svc-card:hover::before {
  transform: scaleY(1);
}
.un-svc-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--un-navy);
  margin: 0 0 12px;
}
.un-svc-card p {
  font-size: 14.5px;
  line-height: 1.78;
  color: #666;
  margin: 0;
}
.un-closing {
  margin-top: 34px;
  background: var(--un-cream);
  border-left: 4px solid var(--un-orange);
  border-radius: 0 10px 10px 0;
  padding: 22px 26px;
}
.un-closing p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: var(--un-brown);
}

/* ---------- Service chips ---------- */
.un-chips {
  padding: 66px 0;
  background: var(--un-cream);
}
.un-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.un-chip {
  background: #fff;
  border: 1px solid var(--un-line);
  border-radius: 8px;
  padding: 16px 18px 16px 46px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--un-navy);
  position: relative;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.un-chip::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--un-orange) url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") no-repeat center / 10px 10px;
  transition: background-color .18s ease;
}
.un-chip:hover {
  background: var(--un-navy);
  border-color: var(--un-navy);
  color: #fff;
}
.un-chip:hover::before {
  background-color: #fff;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232B2D42'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E");
}

/* ---------- Call-to-action button used in this layout ---------- */
.un-page a.un-cta,
.un-cta {
  display: inline-block;
  background: var(--un-red);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 4px;
  text-decoration: none;
  transition: background .18s ease;
}
.un-page a.un-cta:hover,
.un-cta:hover {
  background: #b02525;
  color: #fff;
}
.un-page a.un-cta--ghost,
.un-cta--ghost {
  background: transparent;
  border: 2px solid var(--un-orange);
  color: var(--un-orange);
}
.un-page a.un-cta--ghost:hover,
.un-cta--ghost:hover {
  background: var(--un-orange);
  color: #fff;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .un-numbered { grid-template-columns: repeat(2, 1fr); }
  .un-svc-grid { grid-template-columns: 1fr; }
  .un-chip-grid { grid-template-columns: repeat(2, 1fr); }
  .un-hero h1 { font-size: 32px; }
  .un-hero__inner { padding: 46px 0 50px; }
  .un-hero__form { margin-top: 34px; }
  .un-split__figure { margin-bottom: 32px; }
}
@media (max-width: 575px) {
  .un-numbered,
  .un-chip-grid { grid-template-columns: 1fr; }
  .un-hero h1 { font-size: 26px; }
  .un-head h3,
  .un-quote h3,
  .un-split h3 { font-size: 22px; }
  .un-why, .un-quote, .un-chips { padding: 46px 0; }
  .un-split, .un-services { padding: 46px 0; }
}
