/*
Theme Name: Avada H&M Property Services V2
Description: H&M branded Avada child theme styling for plumbing, bathrooms and property services.
Author: OpenAI
Template: Avada
Version: 1.0.0
Text Domain: avada-hm-property-services-v2
*/

/* =========================================================
   BRAND SETTINGS — change these five values to rebrand
   ========================================================= */
:root {
  /* H&M logo colours */
  --ps-navy: #12506B;
  --ps-navy-2: #071A22;
  --ps-blue: #12506B;
  --ps-accent: #E86100;
  --ps-white: #FFFFFF;
  --ps-offwhite: #F6F7F7;
  --ps-text: #1B252A;
  --ps-muted: #65737A;
  --ps-border: #DDE3E5;
  --ps-radius: 16px;
  --ps-shadow: 0 16px 40px rgba(7,26,34,.14);
}

/* Global helpers */
.ps-home { overflow: hidden; }
.ps-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--ps-blue);
}
.ps-light-text,
.ps-light-text h1,
.ps-light-text h2,
.ps-light-text h3,
.ps-light-text p { color: var(--ps-white) !important; }

/* Header helpers */
.ps-header-phone a {
  font-weight: 800 !important;
  text-decoration: none !important;
}
.ps-header-quote .fusion-button {
  border-radius: 10px !important;
  font-weight: 800 !important;
}

/* HERO */
.ps-hero {
  position: relative;
  background:
    linear-gradient(90deg, rgba(11,31,51,.94) 0%, rgba(11,31,51,.82) 48%, rgba(11,31,51,.42) 100%),
    linear-gradient(135deg, #314b61, #9aa9b5);
}
.ps-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 76% 45%, rgba(255,255,255,.12), transparent 28%);
}
.ps-hero .fusion-builder-row { position: relative; z-index: 2; }
.ps-hero h1 {
  max-width: 820px;
  font-size: clamp(42px, 6vw, 76px) !important;
  line-height: .98 !important;
  letter-spacing: -.035em !important;
  margin-bottom: 22px !important;
}
.ps-hero-copy {
  max-width: 690px;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.6;
  color: rgba(255,255,255,.88);
}
.ps-hero-actions .fusion-button {
  margin: 0 10px 10px 0 !important;
  min-height: 54px;
  padding: 17px 25px !important;
  border-radius: 11px !important;
  font-weight: 800 !important;
}
.ps-hero-note {
  margin-top: 22px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}

/* TRUST STRIP */
.ps-trust-strip {
  position: relative;
  z-index: 5;
  margin-top: -32px !important;
}
.ps-trust-card {
  background: #fff;
  border: 1px solid var(--ps-border);
  border-radius: var(--ps-radius);
  box-shadow: var(--ps-shadow);
}
.ps-trust-item {
  text-align: center;
  padding: 22px 12px;
}
.ps-trust-item strong {
  display: block;
  color: var(--ps-navy);
  font-size: 16px;
}
.ps-trust-item span {
  display: block;
  margin-top: 4px;
  color: var(--ps-muted);
  font-size: 13px;
}

/* SECTIONS */
.ps-section {
  padding-top: 88px !important;
  padding-bottom: 88px !important;
}
.ps-section-soft { background: var(--ps-offwhite); }
.ps-section-dark {
  background: var(--ps-navy-2);
  color: var(--ps-white);
}
.ps-section-title h2 {
  font-size: clamp(34px, 4vw, 52px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.025em !important;
}

/* SERVICE CARDS */
.ps-service-card {
  height: 100%;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--ps-border);
  border-radius: var(--ps-radius);
  box-shadow: 0 8px 26px rgba(16,42,67,.08);
  transition: transform .22s ease, box-shadow .22s ease;
}
.ps-service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--ps-shadow);
}
.ps-service-card .fusion-column-wrapper {
  height: 100%;
}
.ps-service-card h3 {
  margin-top: 12px !important;
  color: var(--ps-navy) !important;
}
.ps-service-card p { color: var(--ps-muted); }
.ps-card-link a {
  color: var(--ps-blue) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
.ps-card-link a:after { content: " →"; }

/* POSITIONING SECTION */
.ps-feature-panel {
  border-radius: 24px;
  overflow: hidden;
  background: var(--ps-navy);
  box-shadow: var(--ps-shadow);
}
.ps-feature-copy { padding: clamp(34px, 5vw, 68px) !important; }
.ps-feature-copy h2 {
  color: #fff !important;
  font-size: clamp(34px, 4vw, 52px) !important;
}
.ps-feature-copy p { color: rgba(255,255,255,.82); font-size: 18px; }
.ps-feature-visual {
  min-height: 480px;
  background:
    linear-gradient(135deg, rgba(31,111,159,.25), rgba(240,161,40,.18)),
    linear-gradient(135deg, #50687b, #bac4cc);
}
.ps-feature-visual:before {
  content: "YOUR BEST BATHROOM / REFURBISHMENT PHOTO";
  display: grid;
  place-items: center;
  min-height: 480px;
  color: rgba(255,255,255,.72);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-align: center;
  padding: 30px;
}

/* PROJECTS */
.ps-project {
  min-height: 380px;
  border-radius: var(--ps-radius);
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #496276, #a9b6bf);
}
.ps-project:before {
  content: "PROJECT PHOTO";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.58);
  font-weight: 900;
  letter-spacing: .15em;
}
.ps-project .fusion-column-wrapper {
  min-height: 380px;
  display: flex !important;
  align-items: flex-end !important;
  position: relative;
  z-index: 2;
}
.ps-project-label {
  width: 100%;
  margin: 18px;
  padding: 18px 20px;
  border-radius: 12px;
  background: rgba(11,31,51,.88);
  backdrop-filter: blur(8px);
}
.ps-project-label h3,
.ps-project-label p { color: #fff !important; margin: 0 !important; }
.ps-project-label p { opacity: .75; margin-top: 3px !important; font-size: 13px; }

/* WHY CHOOSE US */
.ps-benefit {
  padding: 24px;
  height: 100%;
  background: #fff;
  border: 1px solid var(--ps-border);
  border-radius: 14px;
}
.ps-benefit h3 {
  margin: 8px 0 6px !important;
  color: var(--ps-navy) !important;
  font-size: 20px !important;
}
.ps-benefit p { color: var(--ps-muted); margin-bottom: 0; }

/* REVIEWS */
.ps-review {
  height: 100%;
  padding: 30px;
  background: #fff;
  border-radius: var(--ps-radius);
  border: 1px solid var(--ps-border);
}
.ps-stars {
  color: var(--ps-accent);
  letter-spacing: 2px;
  font-size: 18px;
  font-weight: 900;
}
.ps-review p {
  color: var(--ps-text);
  font-size: 17px;
  line-height: 1.65;
}
.ps-review strong { color: var(--ps-navy); }

/* CTA */
.ps-cta {
  border-radius: 24px;
  background: linear-gradient(120deg, var(--ps-blue), var(--ps-navy));
  box-shadow: var(--ps-shadow);
}
.ps-cta .fusion-column-wrapper { padding: clamp(32px, 5vw, 60px) !important; }
.ps-cta h2 {
  color: #fff !important;
  font-size: clamp(32px, 4vw, 48px) !important;
}
.ps-cta p { color: rgba(255,255,255,.82); font-size: 18px; }

/* FORM */
.ps-form-shell {
  background: #fff;
  border: 1px solid var(--ps-border);
  border-radius: 20px;
  padding: clamp(26px, 4vw, 46px);
  box-shadow: var(--ps-shadow);
}

/* MOBILE STICKY CTA
   Add a Code Block element just before </body> is not required.
   Build a 3-column Container in an Avada Footer/Layout section and give it class ps-mobile-bar.
*/
.ps-mobile-bar { display: none !important; }

/* Accessibility / motion */
@media (prefers-reduced-motion: reduce) {
  .ps-service-card { transition: none; }
}

/* TABLET */
@media (max-width: 1024px) {
  .ps-section { padding-top: 68px !important; padding-bottom: 68px !important; }
  .ps-trust-strip { margin-top: 0 !important; }
}

/* MOBILE */
@media (max-width: 800px) {
  body { padding-bottom: 66px; }
  .ps-hero { background: linear-gradient(135deg, #0b1f33, #173a55); }
  .ps-hero h1 { font-size: 44px !important; }
  .ps-hero-actions .fusion-button {
    width: 100% !important;
    margin-right: 0 !important;
    text-align: center;
  }
  .ps-section { padding-top: 54px !important; padding-bottom: 54px !important; }
  .ps-feature-visual,
  .ps-feature-visual:before { min-height: 300px; }
  .ps-mobile-bar {
    display: flex !important;
    position: fixed !important;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    min-height: 66px;
    margin: 0 !important;
    padding: 0 !important;
    background: var(--ps-navy-2);
    box-shadow: 0 -8px 26px rgba(0,0,0,.18);
  }
  .ps-mobile-bar .fusion-builder-row {
    width: 100% !important;
    max-width: none !important;
    display: flex !important;
    align-items: stretch !important;
  }
  .ps-mobile-bar .fusion-layout-column {
    width: 33.333% !important;
    margin: 0 !important;
  }
  .ps-mobile-bar .fusion-column-wrapper {
    min-height: 66px;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .ps-mobile-bar a {
    color: #fff !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    letter-spacing: .03em;
    text-transform: uppercase;
    text-decoration: none !important;
  }
}


/* =========================================================
   H&M V2 BRAND REFINEMENTS
   ========================================================= */

.ps-topbar {
  background: var(--ps-blue) !important;
  color: #fff !important;
}
.ps-main-header {
  background: #000 !important;
  color: #fff !important;
  border-bottom: 3px solid var(--ps-accent);
}
.ps-main-header a,
.ps-main-header .fusion-menu-element-list > li > a {
  color: #fff !important;
}
.ps-main-header .fusion-menu-element-list > li > a:hover,
.ps-main-header .current-menu-item > a {
  color: var(--ps-accent) !important;
}
.ps-logo img {
  max-height: 88px;
  width: auto;
}
.ps-header-quote .fusion-button,
.ps-hero-actions .fusion-button:first-child,
.ps-cta .fusion-button {
  background: var(--ps-accent) !important;
  border-color: var(--ps-accent) !important;
  color: #fff !important;
}
.ps-header-quote .fusion-button:hover,
.ps-hero-actions .fusion-button:first-child:hover,
.ps-cta .fusion-button:hover {
  background: #c95100 !important;
  border-color: #c95100 !important;
}
.ps-hero {
  background:
    linear-gradient(90deg, rgba(7,26,34,.96) 0%, rgba(18,80,107,.90) 48%, rgba(18,80,107,.48) 100%),
    linear-gradient(135deg, #071A22, #12506B);
  border-bottom: 5px solid var(--ps-accent);
}
.ps-eyebrow {
  color: var(--ps-accent);
}
.ps-hero .ps-eyebrow {
  color: #ff8b38 !important;
}
.ps-trust-card {
  border-top: 4px solid var(--ps-accent);
}
.ps-service-card {
  border-bottom: 4px solid transparent;
}
.ps-service-card:hover {
  border-bottom-color: var(--ps-accent);
}
.ps-card-link a {
  color: var(--ps-accent) !important;
}
.ps-feature-panel {
  background: var(--ps-blue);
  border-top: 5px solid var(--ps-accent);
}
.ps-feature-visual {
  background:
    linear-gradient(135deg, rgba(232,97,0,.22), rgba(18,80,107,.18)),
    linear-gradient(135deg, #607982, #c4ced1);
}
.ps-project-label {
  border-left: 4px solid var(--ps-accent);
}
.ps-stars {
  color: var(--ps-accent);
}
.ps-cta {
  background: linear-gradient(120deg, var(--ps-accent), #b94a00);
}
.ps-cta .ps-eyebrow {
  color: #fff !important;
  opacity: .8;
}
.ps-form-shell {
  border-top: 5px solid var(--ps-accent);
}
.ps-mobile-bar {
  background: #000 !important;
  border-top: 3px solid var(--ps-accent);
}
.ps-mobile-bar .fusion-layout-column:nth-child(2) {
  background: var(--ps-blue);
}
.ps-mobile-bar .fusion-layout-column:nth-child(3) {
  background: var(--ps-accent);
}

@media (max-width: 800px) {
  .ps-hero {
    background: linear-gradient(145deg, #071A22, #12506B);
  }
  .ps-logo img {
    max-height: 62px;
  }
}
