
/* =========================================
   S NEW ROOF - SERVICES PAGE
   Uses the existing styles13.css as its base.
========================================= */

.services-page {
  background: #f7f7f7;
  color: var(--ink);
}

.services-page #main {
  background: #f7f7f7;
}

/* =========================================
   SERVICES HERO
========================================= */

.services-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(58px, 7vw, 96px) 0 clamp(64px, 7vw, 90px);
  background: #050505;
  color: #fff;
}

.services-hero-pattern {
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .34;
  background-image:
    linear-gradient(135deg, transparent 0 48%, rgba(255,255,255,.035) 49%, transparent 50%),
    linear-gradient(45deg, transparent 0 48%, rgba(255,255,255,.025) 49%, transparent 50%);
  background-size: 14px 14px;
  pointer-events: none;
}

.services-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 520px;
  height: 520px;
  right: -170px;
  top: -280px;
  border: 1px solid rgba(244,119,10,.24);
  border-radius: 50%;
  box-shadow: 0 0 0 34px rgba(244,119,10,.035), 0 0 0 70px rgba(244,119,10,.025);
}

.services-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(245px, .55fr);
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  position: relative;
  z-index: 1;
}

.services-eyebrow,
.services-kicker {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.services-eyebrow span {
  color: rgba(255,255,255,.42);
  padding: 0 7px;
}

.services-hero h1 {
  max-width: 820px;
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(45px, 5.5vw, 72px);
  line-height: .98;
  letter-spacing: .015em;
  text-transform: uppercase;
}

.services-hero h1 span {
  color: var(--orange);
}

.services-hero-lead {
  max-width: 660px;
  margin: 0;
  color: #d4d4d4;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.55;
}

.services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.services-hero-actions .btn {
  min-height: 46px;
  padding-inline: 21px;
}

.services-hero-aside {
  padding: 28px 28px 25px;
  border: 1px solid rgba(255,255,255,.18);
  border-left: 3px solid var(--orange);
  background: rgba(255,255,255,.045);
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}

.services-aside-label {
  display: block;
  color: #bdbdbd;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

.services-aside-number {
  display: block;
  margin: 10px 0 -3px;
  color: var(--orange);
  font-size: clamp(58px, 6vw, 78px);
  line-height: .95;
}

.services-hero-aside > p {
  margin: 8px 0 18px;
  color: #eee;
  font-size: 15px;
}

.services-aside-rule {
  width: 100%;
  height: 1px;
  margin-bottom: 17px;
  background: rgba(255,255,255,.18);
}

.services-aside-rule span {
  display: block;
  width: 42px;
  height: 2px;
  background: var(--orange);
}

.services-hero-aside ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #dedede;
  font-size: 13px;
}

.services-hero-aside li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin: 0 10px 1px 0;
  background: var(--orange);
  transform: rotate(45deg);
}

.services-hero-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--orange) 0 22%, rgba(244,119,10,.28) 22% 100%);
}

/* =========================================
   INTRODUCTION
========================================= */

.services-intro {
  padding: 55px 0 24px;
  background: #f7f7f7;
}

.services-intro-inner {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, 1.1fr);
  align-items: end;
  gap: 42px;
}

.services-intro .services-kicker {
  margin-bottom: 8px;
}

.services-intro h2 {
  margin: 0;
  color: #111;
  font-size: clamp(28px, 3.2vw, 39px);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .025em;
}

.services-intro .heading-rule {
  margin: 12px 0 0;
}

.services-intro-copy {
  max-width: 580px;
  margin: 0 0 2px;
  color: #626262;
  font-size: 16px;
  line-height: 1.65;
}

/* =========================================
   SERVICE CARDS
========================================= */

.service-catalog {
  padding: 30px 0 78px;
  background: #f7f7f7;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.service-overview-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 25px 25px 23px;
  overflow: hidden;
  border: 1px solid #dedede;
  border-top: 3px solid var(--orange);
  background: #fff;
  box-shadow: 0 5px 18px rgba(0,0,0,.035);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.service-overview-card::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-top: 17px solid var(--orange);
  border-left: 17px solid transparent;
}

.service-overview-card:hover {
  transform: translateY(-3px);
  border-color: #d0d0d0;
  border-top-color: var(--orange);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

.service-card-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  color: #777;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.service-card-topline span:first-child {
  color: var(--orange);
  font-size: 14px;
  letter-spacing: .04em;
}

.service-overview-card h3 {
  margin: 0 0 12px;
  color: #111;
  font-size: clamp(20px, 1.9vw, 24px);
  line-height: 1.1;
  text-transform: uppercase;
}

.service-overview-card > p {
  margin: 0;
  color: #5f5f5f;
  font-size: 15px;
  line-height: 1.58;
}

.service-highlights {
  display: grid;
  gap: 8px;
  margin: 19px 0 22px;
  padding: 15px 0 0;
  border-top: 1px solid #e8e8e8;
  list-style: none;
}

.service-highlights li {
  position: relative;
  padding-left: 17px;
  color: #333;
  font-size: 13px;
  line-height: 1.4;
}

.service-highlights li::before {
  content: "";
  position: absolute;
  left: 1px;
  top: .48em;
  width: 6px;
  height: 6px;
  background: var(--orange);
  transform: rotate(45deg);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin-top: auto;
  padding-top: 17px;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.service-card-link span {
  color: var(--orange);
  font-size: 20px;
  line-height: .8;
  transition: transform .2s ease;
}

.service-card-link:hover {
  color: var(--orange-dark);
}

.service-card-link:hover span {
  transform: translateX(4px);
}

/* =========================================
   CONTACT BAND
========================================= */

.services-contact-band {
  padding: 35px 0;
  background: var(--orange);
  color: #fff;
}

.services-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.services-kicker-light {
  margin-bottom: 7px;
  color: #fff;
  opacity: .9;
}

.services-contact-inner h2 {
  margin: 0 0 7px;
  color: #fff;
  font-size: clamp(23px, 2.7vw, 31px);
  line-height: 1.1;
  text-transform: uppercase;
}

.services-contact-inner p:not(.services-kicker) {
  margin: 0;
  color: rgba(255,255,255,.93);
  font-size: 15px;
  line-height: 1.5;
}

.services-contact-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 220px;
}

.services-contact-actions .btn-white {
  min-height: 46px;
  border-color: #fff;
  text-align: center;
}

.services-phone-link {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* =========================================
   FLOATING BUTTONS
   CALL: BOTTOM LEFT / WHATSAPP: BOTTOM RIGHT
========================================= */

.services-page .floating-actions {
  position: static !important;
  width: 0;
  height: 0;
}

.services-page .floating-actions .floating-call {
  position: fixed !important;
  top: auto !important;
  left: 28px !important;
  right: auto !important;
  bottom: 26px !important;
  width: 62px !important;
  height: 62px !important;
  z-index: 120;
}

.services-page .floating-actions .floating-whatsapp {
  position: fixed !important;
  top: auto !important;
  left: auto !important;
  right: 28px !important;
  bottom: 26px !important;
  width: 62px !important;
  height: 62px !important;
  z-index: 120;
}

.services-page .floating-actions svg {
  width: 29px;
  height: 29px;
}

/* =========================================
   RESPONSIVE: TABLET
========================================= */

@media (max-width: 900px) {

  .services-hero-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
    gap: 28px;
  }

  .service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-intro-inner {
    gap: 28px;
  }

}

/* =========================================
   RESPONSIVE: MOBILE
========================================= */

@media (max-width: 700px) {

  .services-hero {
    padding: 48px 0 52px;
  }

  .services-hero-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .services-hero h1 {
    max-width: 520px;
    margin-bottom: 15px;
    font-size: clamp(37px, 10vw, 49px);
    line-height: 1.02;
  }

  .services-hero-lead {
    max-width: 520px;
    font-size: 15px;
    line-height: 1.55;
  }

  .services-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 22px;
  }

  .services-hero-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .services-hero-aside {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    column-gap: 15px;
    padding: 18px 19px;
  }

  .services-aside-label {
    grid-column: 1 / -1;
  }

  .services-aside-number {
    grid-row: span 2;
    margin: 8px 0 0;
    font-size: 56px;
  }

  .services-hero-aside > p {
    align-self: end;
    margin: 6px 0 2px;
    font-size: 14px;
  }

  .services-aside-rule,
  .services-hero-aside ul {
    grid-column: 2;
  }

  .services-aside-rule {
    margin: 7px 0 7px;
  }

  .services-hero-aside ul {
    gap: 5px;
    font-size: 12px;
  }

  .services-intro {
    padding: 39px 0 14px;
  }

  .services-intro-inner {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .services-intro h2 {
    font-size: 27px;
    line-height: 1.08;
  }

  .services-intro-copy {
    font-size: 14px;
    line-height: 1.6;
  }

  .service-catalog {
    padding: 19px 0 48px;
  }

  .service-card-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .service-overview-card {
    padding: 21px 19px 19px;
  }

  .service-card-topline {
    margin-bottom: 14px;
  }

  .service-overview-card h3 {
    margin-bottom: 9px;
    font-size: 22px;
  }

  .service-overview-card > p {
    font-size: 14px;
    line-height: 1.58;
  }

  .service-highlights {
    gap: 7px;
    margin: 15px 0 15px;
    padding-top: 13px;
  }

  .service-card-link {
    padding-top: 12px;
    min-height: 36px;
  }

  .services-contact-band {
    padding: 29px 0;
  }

  .services-contact-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }

  .services-contact-inner h2 {
    font-size: 24px;
    line-height: 1.15;
  }

  .services-contact-inner p:not(.services-kicker) {
    font-size: 14px;
  }

  .services-contact-actions {
    width: 100%;
    min-width: 0;
  }

  .services-contact-actions .btn-white {
    width: 100%;
    min-height: 46px;
  }

  /* CALL: BOTTOM LEFT */

  .services-page .floating-actions .floating-call {
    left: 14px !important;
    bottom: 14px !important;
    width: 54px !important;
    height: 54px !important;
  }

  /* WHATSAPP: BOTTOM RIGHT */

  .services-page .floating-actions .floating-whatsapp {
    right: 14px !important;
    bottom: 14px !important;
    width: 54px !important;
    height: 54px !important;
  }

  .services-page .floating-actions svg {
    width: 25px;
    height: 25px;
  }

}

@media (max-width: 380px) {

  .services-hero h1 {
    font-size: 36px;
  }

  .services-hero-aside {
    padding: 16px;
  }

  .service-overview-card {
    padding-inline: 17px;
  }

}

@media (prefers-reduced-motion: reduce) {

  .service-overview-card,
  .service-card-link span {
    transition: none !important;
  }

}