
/* =========================================================
   ERIC'S CONSTRUCTION — SERVICE DETAIL PAGES
   Works with the existing style.css
========================================================= */

.service-hero{
  min-height:78vh;
  margin-top:72px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:5rem 5%;
  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
  position:relative;
  overflow:hidden;
}
.service-hero::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,rgba(245,158,11,.08),transparent,rgba(245,158,11,.08));
  background-size:200% 200%;
  animation:serviceGradient 8s ease infinite;
}
@keyframes serviceGradient{
  0%,100%{background-position:0 50%}
  50%{background-position:100% 50%}
}
.service-hero-content{
  max-width:900px;
  position:relative;
  z-index:2;
}
.eyebrow,.section-kicker{
  display:inline-block;
  color:#f59e0b;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  margin-bottom:1rem;
}
.service-hero h1{
  font-size:clamp(2.5rem,6vw,4.7rem);
  line-height:1.05;
  margin-bottom:1rem;
}
.service-hero p{
  max-width:760px;
  margin:0 auto 2rem;
  color:#e2e8f0;
  font-size:1.15rem;
}
.hero-note{
  margin-top:1.2rem;
  color:#cbd5e1;
  font-size:.9rem;
}
.service-intro,.benefits-section,.process-section,.reviews-section,.faq-section{
  background:#0b1f3a;
}
.service-intro,.included-section,.benefits-section,.process-section,.reviews-section,.faq-section,.service-cta{
  padding:5.5rem 5%;
}
.intro-grid{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:1.4fr .8fr;
  gap:3rem;
  align-items:center;
}
.intro-grid h2{
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.15;
  margin-bottom:1.2rem;
}
.intro-grid p{
  color:#cbd5e1;
  margin-bottom:1rem;
}
.quick-card{
  background:linear-gradient(145deg,#132f57,#10294d);
  border:1px solid rgba(245,158,11,.25);
  border-radius:22px;
  padding:2rem;
  box-shadow:0 18px 45px rgba(0,0,0,.22);
}
.quick-label{
  color:#f59e0b;
  font-size:.75rem;
  font-weight:700;
  letter-spacing:1.5px;
}
.quick-card h3{font-size:1.5rem;margin:.7rem 0}
.quick-card p{margin-bottom:1.3rem}
.included-section{background:#10294d}
.included-grid{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:3rem;
  align-items:stretch;
}
.included-list{
  list-style:none;
  display:grid;
  gap:.85rem;
}
.included-list li{
  background:rgba(19,47,87,.85);
  border:1px solid rgba(255,255,255,.07);
  border-radius:13px;
  padding:1rem 1.1rem;
  color:#e2e8f0;
}
.included-list li span{
  color:#f59e0b;
  font-weight:800;
  margin-right:.7rem;
}
.service-image-large{
  min-height:360px;
  overflow:hidden;
  border-radius:22px;
  border:1px solid rgba(245,158,11,.25);
}
.service-image-large img{
  width:100%;
  height:100%;
  min-height:360px;
  object-fit:cover;
  display:block;
  transition:transform .6s ease;
}
.service-image-large:hover img{transform:scale(1.04)}
.benefits-grid{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1rem;
}
.benefit-card{
  background:rgba(19,47,87,.72);
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:1.5rem;
  transition:.3s ease;
}
.benefit-card:hover{
  transform:translateY(-6px);
  border-color:rgba(245,158,11,.55);
}
.benefit-icon{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:rgba(245,158,11,.12);
  color:#f59e0b;
  font-weight:800;
  margin-bottom:1rem;
}
.benefit-card h3{font-size:1.05rem;margin-bottom:.5rem}
.benefit-card p{color:#94a3b8;font-size:.88rem}
.process-section{background:#10294d}
.process-list{
  max-width:850px;
  margin:auto;
  display:grid;
  gap:1rem;
}
.process-step{
  display:flex;
  gap:1.2rem;
  align-items:flex-start;
  padding:1.4rem;
  border-radius:16px;
  background:rgba(19,47,87,.8);
  border:1px solid rgba(255,255,255,.07);
}
.step-number{
  flex:0 0 46px;
  height:46px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#f59e0b;
  color:#0b1f3a;
  font-weight:800;
}
.process-step h3{margin-bottom:.35rem}
.process-step p{color:#94a3b8;font-size:.9rem}
.reviews-grid{
  max-width:1100px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:1.2rem;
}
.review-card{
  background:linear-gradient(145deg,rgba(19,47,87,.9),rgba(16,41,77,.9));
  border:1px solid rgba(255,255,255,.08);
  border-radius:18px;
  padding:1.6rem;
  position:relative;
}
.stars{
  color:#f59e0b;
  letter-spacing:2px;
  margin-bottom:.9rem;
}
.review-card > p{
  color:#e2e8f0;
  font-size:.95rem;
  line-height:1.8;
  margin-bottom:1.4rem;
}
.reviewer{
  display:flex;
  flex-direction:column;
  gap:.15rem;
}
.reviewer strong{color:#fff}
.reviewer span{color:#94a3b8;font-size:.85rem}
.review-card small{
  display:block;
  margin-top:1rem;
  padding-top:1rem;
  border-top:1px solid rgba(255,255,255,.07);
  color:#64748b;
  font-size:.7rem;
}
.reviews-section .section-title > p{
  max-width:760px;
  margin:0 auto;
  color:#94a3b8;
  font-size:.95rem;
}
.review-form-card{
  max-width:900px;
  margin:3rem auto 0;
  padding:2rem;
  background:rgba(19,47,87,.85);
  border:1px solid rgba(245,158,11,.22);
  border-radius:22px;
  box-shadow:0 18px 45px rgba(0,0,0,.18);
}
.review-form-heading{
  text-align:center;
  margin-bottom:1.8rem;
}
.review-form-heading h3{
  font-size:1.7rem;
  margin:.25rem 0 .5rem;
}
.review-form-heading p{
  color:#94a3b8;
}
.review-form{
  display:flex;
  flex-direction:column;
  gap:1rem;
}
.review-form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem;
}
.review-form label{
  display:block;
  margin-bottom:.45rem;
  color:#e2e8f0;
  font-size:.9rem;
  font-weight:600;
}
.review-form input,
.review-form select,
.review-form textarea{
  font-family:inherit;
}
.review-form textarea{
  resize:vertical;
  min-height:130px;
}
.review-form .btn{
  align-self:flex-start;
}
.review-form-note{
  color:#64748b;
  font-size:.75rem;
}
.review-form-status{
  min-height:1.3rem;
  color:#f59e0b;
  font-weight:600;
  font-size:.9rem;
}
.review-card .stars{
  font-size:1rem;
}

.faq-list{
  max-width:900px;
  margin:auto;
  display:grid;
  gap:.8rem;
}
.faq-list details{
  background:rgba(19,47,87,.78);
  border:1px solid rgba(255,255,255,.08);
  border-radius:14px;
  padding:1.2rem 1.4rem;
}
.faq-list summary{
  cursor:pointer;
  font-weight:600;
  color:#fff;
}
.faq-list details[open]{border-color:rgba(245,158,11,.4)}
.faq-list details p{
  color:#cbd5e1;
  margin-top:1rem;
  padding-top:1rem;
  border-top:1px solid rgba(255,255,255,.07);
}
@media (max-width:900px){
  .intro-grid,.included-grid{grid-template-columns:1fr}
  .benefits-grid{grid-template-columns:repeat(2,1fr)}
  .reviews-grid{grid-template-columns:1fr}
  .service-image-large{min-height:280px}
  .service-image-large img{min-height:280px}
}
@media (max-width:600px){
  .service-hero{min-height:75vh;padding:4rem 5%}
  .benefits-grid{grid-template-columns:1fr}
  .review-form-grid{grid-template-columns:1fr}
  .service-intro,.included-section,.benefits-section,.process-section,.reviews-section,.faq-section{padding:4rem 5%}
  .process-step{padding:1rem}
}


/* =========================================================
   NEW — SERVICES VIDEO SHOWCASE
   Added without changing the existing service design.
========================================================= */
.video-showcase{
  margin-top:4.5rem;
  padding:0;
}

.video-showcase .section-title{
  margin-bottom:2.5rem;
}

.section-kicker{
  display:inline-block;
  color:#f59e0b;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:2px;
  text-transform:uppercase;
  margin-bottom:.7rem;
}

.video-grid{
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:1.5rem;
}

.video-card{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  background:#081427;
  border:1px solid rgba(255,255,255,.09);
  box-shadow:0 14px 35px rgba(0,0,0,.22);
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.video-card:hover{
  transform:translateY(-7px);
  border-color:rgba(245,158,11,.55);
  box-shadow:0 22px 45px rgba(0,0,0,.35);
}

.video-card-wide{
  grid-column:1 / -1;
}

.video-frame{
  position:relative;
  height:300px;
  overflow:hidden;
  background:#081427;
}

.video-card-wide .video-frame{
  height:360px;
}

.video-frame video{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  filter:saturate(.92) contrast(1.03);
  transform:scale(1.01);
  opacity:0;
  transition:opacity .25s ease, transform .7s ease;
}

/* Keep the poster hidden behind a clear loading state until the real video
   has enough data to display. This avoids showing a still image and then
   suddenly swapping to video. */
.video-frame.video-ready video{
  opacity:1;
}

.video-card:hover .video-frame video{
  transform:scale(1.06);
}

/* Subtle shaded gradient over each video for a premium look */
.video-shade{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(
      180deg,
      rgba(8,20,39,.05) 20%,
      rgba(8,20,39,.18) 45%,
      rgba(8,20,39,.82) 100%
    ),
    linear-gradient(
      110deg,
      rgba(245,158,11,.10),
      transparent 45%,
      rgba(11,31,58,.18)
    );
}

.video-label{
  position:absolute;
  left:1.25rem;
  bottom:1.15rem;
  z-index:2;
  color:#fff;
  font-size:1.05rem;
  font-weight:700;
  letter-spacing:.2px;
  text-shadow:0 2px 10px rgba(0,0,0,.55);
}

.video-label span{
  display:inline-grid;
  place-items:center;
  width:30px;
  height:30px;
  margin-right:.55rem;
  border-radius:50%;
  background:#f59e0b;
  color:#0b1f3a;
  font-size:.75rem;
  font-weight:800;
  vertical-align:middle;
}

@media (max-width:700px){
  .video-grid{
    grid-template-columns:1fr;
    gap:1.2rem;
  }

  .video-card-wide{
    grid-column:auto;
  }

  .video-frame,
  .video-card-wide .video-frame{
    height:250px;
  }

  .video-showcase{
    margin-top:3.5rem;
  }
}


/* Video loading indicator: only shows while an individual video is buffering. */
.video-loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8,20,39,.78);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s ease, visibility .2s ease;
  z-index: 3;
}
.video-loading.active {
  opacity: 1;
  visibility: visible;
}
.video-loading .loader-circle {
  width: 34px;
  height: 34px;
  border-width: 3px;
}

.video-frame.video-error::after {
  content: "This video could not be loaded. Please try again later.";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(8,20,39,.9);
  color: #e2e8f0;
  text-align: center;
  font-size: .95rem;
  z-index: 4;
}


/* Warm Workshop palette for service detail pages */
.service-hero::after {
  background: radial-gradient(ellipse at 50% 75%, rgba(221,164,95,.15), transparent 58%);
  animation: none;
}
.eyebrow, .section-kicker, .quick-label { color: #a96032; }
.service-hero .eyebrow, .service-hero .section-kicker { color: #f2c083; }
.service-hero h1 { color: #fffdf8; }
.service-hero p, .hero-note { color: #f1e8da; }
.service-intro, .benefits-section, .reviews-section, .faq-section {
  background: #f6f1e7;
  color: #29383a;
}
.included-section, .process-section { background: #ece4d7; color: #29383a; }
.intro-grid h2, .included-section h2, .benefits-section h2, .process-section h2,
.reviews-section h2, .faq-section h2 { color: #24473f; }
.intro-grid p, .benefit-card p, .process-step p, .reviews-section .section-title > p,
.review-form-heading p, .review-form-note, .reviewer span { color: #68746f; }
.quick-card {
  background: linear-gradient(145deg, #24473f, #17332f);
  border-color: rgba(191,117,65,.35);
  box-shadow: 0 18px 38px rgba(34,58,50,.15);
  color: #fffdf8;
}
.quick-card h3 { color: #fff7e9; }
.quick-card p { color: #e8e3d8; }
.included-list li, .benefit-card, .process-step, .review-card,
.review-form-card, .faq-list details {
  background: #fffdf8;
  border: 1px solid #ded4c5;
  color: #29383a;
  box-shadow: 0 8px 22px rgba(54,49,39,.055);
}
.included-list li { color: #29383a; }
.included-list li span, .benefit-icon, .step-number { color: #24473f; }
.benefit-icon, .step-number { background: #f0d5ad; }
.benefit-card h3, .process-step h3 { color: #29383a; }
.process-step p, .review-card > p { color: #68746f; }
.review-card { background: #fffdf8; }
.review-card .reviewer strong, .faq-list summary { color: #24473f; }
.review-card small, .faq-list details p { color: #68746f; border-color: #e6ded1; }
.review-form-card { border-color: #ded4c5; }
.review-form label { color: #29383a; }
.review-form-status, .stars { color: #a96032; }
.faq-list details[open] { border-color: rgba(191,117,65,.58); }
.video-card { background: #17332f; border-color: rgba(36,71,63,.12); box-shadow: 0 14px 32px rgba(54,49,39,.12); }
.video-frame { background: #17332f; }
.video-label { color: #fff7e9; }
.video-label span { background: #dda45f; color: #243432; }
.video-loading { background: rgba(23,51,47,.78); }
.video-loading .loader-circle { border-top-color: #dda45f; }
.video-frame.video-error::after { background: rgba(23,51,47,.94); color: #fff7e9; }
@media (max-width: 700px) {
  .video-card:hover { transform: none; }
}


/* Logo-aligned display typography and color accents on service pages */
.service-hero::after {
  background: radial-gradient(ellipse at 78% 24%, rgba(0,183,190,.16), transparent 26%), radial-gradient(ellipse at 48% 82%, rgba(255,212,59,.09), transparent 52%);
}
.service-hero h1 {
  font-family: 'Sora', 'Arial', sans-serif;
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: .9;
}
.service-hero .eyebrow, .service-hero .section-kicker { color: #ffd43b; }
.eyebrow, .section-kicker, .quick-label { font-family: 'Manrope', sans-serif; }
.benefit-icon, .step-number { background: #fff0bb; color: #26302e; }
.quick-label, .review-form-status, .stars { color: #08777a; }
.service-card:hover, .benefit-card:hover { border-color: #f15a24; }
.video-label span { background: #ffd43b; color: #232a29; }
.video-loading .loader-circle { border-top-color: #f15a24; }


/* Typography refinement: Sora display headings */
.service-hero h1 {
  font-family: 'Sora', 'Arial', sans-serif;
  font-size: clamp(3.5rem, 7vw, 5.8rem);
  font-weight: 800;
  letter-spacing: -.045em;
  line-height: 1;
}
.section-title h2 { font-family: 'Sora', 'Arial', sans-serif; }
@media (max-width: 700px) { .service-hero h1 { font-size: clamp(3rem, 12vw, 4.2rem); } }

/* Mobile polish for service detail pages */


@media (max-width: 768px) {
  .service-hero { min-height: 72svh; padding: 6rem 6% 3rem; }
  .service-hero-content { width: 100%; }
  .service-hero p { font-size: 1rem; line-height: 1.7; margin-bottom: 1.35rem; }
  .service-hero .hero-buttons { gap: .65rem; }
  .service-intro, .included-section, .benefits-section, .process-section,
  .reviews-section, .faq-section { padding: 3.6rem 5%; }
  .intro-grid { gap: 1.75rem; }
  .included-grid { gap: 1.35rem; }
  .included-list li, .benefit-card, .process-step, .review-card, .faq-list details { border-radius: 12px; }
  .benefits-grid { gap: .8rem; }
  .review-form-card { margin-top: 2rem; padding: 1.25rem; border-radius: 16px; }
  .video-showcase { margin-top: 3rem; }
  .video-grid { gap: 1rem; }
  .video-frame, .video-card-wide .video-frame { height: 230px; }
  .video-label { left: 1rem; bottom: .9rem; font-size: .95rem; }
  .faq-list details { padding: 1rem; }
}
