.public-homepage {
  --landing-navy: #0b1220;
  --landing-ink: #111827;
  --landing-blue: #2563eb;
  --landing-gold: #f59e0b;
  --landing-gold-soft: #fbbf24;
  --landing-gold-deep: #b45309;
  --landing-muted: #5b6472;
  --landing-paper: #f6f7f9;
  --landing-line: #e4e8ef;
  --font-display: "Bricolage Grotesque", "Segoe UI", Arial, sans-serif;
  --font-body: Manrope, "Segoe UI", Arial, sans-serif;
  background: #fff;
  color: var(--landing-ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
}
.public-homepage *, .public-homepage *::before, .public-homepage *::after { box-sizing: border-box; }
.public-homepage :is(h1, h2, h3, h4, p, figure) { margin: 0; }
.public-homepage :is(h1, h2, h3, h4) { font-family: var(--font-display); }
.public-homepage a { text-decoration: none; }
.public-homepage :is(a, button, input, select, textarea, summary):focus-visible { outline: 3px solid var(--landing-gold); outline-offset: 3px; }
.public-homepage :is(section[id], div[id]) { scroll-margin-top: 105px; }
.public-homepage ::selection { background: #fde68a; color: #0b1220; }
.landing-container { width: min(100% - 64px, 1240px); margin-inline: auto; }
.landing-section { padding: clamp(88px, 9vw, 136px) 0; }

.landing-label { display: flex; align-items: center; gap: 12px; margin-bottom: 20px !important; color: var(--landing-gold-deep); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.landing-label::before { width: 28px; height: 2px; flex: 0 0 auto; background: var(--landing-gold); content: ""; }
.public-homepage h2 { max-width: 740px; font-size: clamp(36px, 4.4vw, 60px); font-weight: 700; letter-spacing: -.015em; line-height: 1.06; }

.public-header { min-height: 82px; padding: 0 max(calc((100vw - 1240px) / 2), 32px); border-bottom: 1px solid #ffffff14; background: #0b1220fa; backdrop-filter: none; }
.public-brand-logo { width: 100px; height: 54px; }
.public-nav { gap: clamp(20px, 2.8vw, 42px); }
.public-nav a, .public-login { color: #e7ecf5; font-size: 13.5px; font-weight: 700; letter-spacing: .01em; }
.public-nav a:hover { color: var(--landing-gold-soft); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.public-login { min-height: 42px; padding: 0 20px; border: 1px solid #f59e0b7a; background: transparent; }
.public-login:hover { background: var(--landing-gold); border-color: var(--landing-gold); color: #0b1220; }

.landing-hero { position: relative; display: flex; min-height: min(820px, calc(100svh - 82px)); flex-direction: column; justify-content: center; overflow: hidden; background: var(--landing-navy); color: #fff; }
.landing-hero-image { position: absolute; inset: 0; background: linear-gradient(90deg, #0b1220f8 0%, #0b1220d6 42%, #0b122052 100%), linear-gradient(0deg, #0b1220b8, transparent 42%), url("assets/psf-solar-rooftop.jpg") center 48% / cover no-repeat; background-position: center, center, center 48%; }
.landing-hero-content { position: relative; padding-top: 96px; padding-bottom: 160px; }
.landing-hero-label { display: flex; align-items: center; gap: 14px; margin-bottom: 28px !important; color: var(--landing-gold-soft); font-size: 12.5px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.landing-hero-label::before { width: 34px; height: 2px; flex: 0 0 auto; background: var(--landing-gold); content: ""; }
.landing-hero h1 { max-width: 850px; color: #fff; font-size: clamp(52px, 7vw, 98px); font-weight: 800; letter-spacing: -.02em; line-height: 1; }
.landing-accent { color: var(--landing-gold-soft); }
.landing-hero-content > p:not(.landing-hero-label) { max-width: 590px; margin-top: 28px; color: #dde4f0; font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; line-height: 1.7; }
.landing-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.landing-button { display: inline-flex; min-height: 54px; align-items: center; justify-content: center; padding: 14px 30px; border: 1px solid transparent; border-radius: 999px; font: inherit; font-size: 14px; font-weight: 800; letter-spacing: .01em; text-align: center; cursor: pointer; transition: background .2s ease, transform .2s ease, box-shadow .2s ease, color .2s ease; }
.landing-button:hover { transform: translateY(-2px); }
.landing-button-primary { background: var(--landing-gold); color: #0b1220; box-shadow: inset 0 1px 0 #ffffff59, inset 0 -2px 0 #0000004d, 0 1px 2px #00000066, 0 12px 30px #f59e0b38; }
.landing-button-primary:hover { background: var(--landing-gold-soft); color: #0b1220; box-shadow: inset 0 1px 0 #ffffff66, inset 0 -2px 0 #00000045, 0 1px 2px #00000059, 0 16px 36px #f59e0b52; }
.landing-button-primary:active { transform: translateY(0); box-shadow: inset 0 1px 0 #ffffff40, inset 0 2px 2px #0000003d, 0 1px 2px #00000040, 0 8px 22px #f59e0b38; }
.landing-button-outline { border-color: #ffffff6b; background: #0b122099; color: #fff; box-shadow: inset 0 1px 0 #ffffff26, inset 0 -2px 0 #00000052, 0 1px 2px #00000059; }
.landing-button-outline:hover { background: #ffffff1f; color: #fff; }
.landing-hero-bottom { position: absolute; right: 0; bottom: 0; left: 0; display: flex; flex-wrap: wrap; gap: 14px clamp(24px, 3.4vw, 50px); padding: 25px max(calc((100vw - 1240px) / 2), 32px); border-top: 1px solid #ffffff21; background: #0b1220cc; color: #eef1f7; }
.landing-hero-bottom span { display: flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.landing-hero-bottom span:not(:first-child)::before { width: 5px; height: 5px; border-radius: 50%; background: var(--landing-gold); content: ""; }

.landing-about-grid, .landing-approach-grid, .landing-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 7.5vw, 130px); }
.landing-about-copy { max-width: 580px; padding-top: 22px; color: var(--landing-muted); font-size: 16.5px; }
.landing-about-copy p:first-child { color: var(--landing-ink); font-size: clamp(19px, 1.8vw, 22px); font-weight: 600; line-height: 1.55; }
.landing-about-copy p + p { margin-top: 20px; }
.landing-text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; color: var(--landing-gold-deep); font-weight: 800; }
.landing-text-link::after { content: "→"; transition: transform .2s ease; }
.landing-text-link:hover::after { transform: translateX(5px); }
.landing-text-link:hover, .landing-service a:hover { text-decoration: underline; text-underline-offset: 4px; }
.landing-about-media { position: relative; margin-top: clamp(50px, 6vw, 84px); overflow: hidden; border-radius: 22px; }
.landing-about-media img { display: block; width: 100%; aspect-ratio: 21 / 8; min-height: 260px; object-fit: cover; }
.landing-about-media figcaption { position: absolute; bottom: 18px; left: 18px; padding: 9px 18px; border-radius: 999px; background: #0b1220e6; color: #fff; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; }
.landing-purpose { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(48px, 6vw, 80px); counter-reset: purpose; }
.landing-purpose > div { padding: 28px; border: 1px solid var(--landing-line); border-radius: 18px; background: var(--landing-paper); counter-increment: purpose; }
.landing-purpose > div::before { display: block; margin-bottom: 18px; color: var(--landing-gold-deep); font-family: var(--font-display); font-size: 14px; font-weight: 800; letter-spacing: .14em; content: "0" counter(purpose); }
.landing-purpose h3 { margin-bottom: 10px; font-size: 19px; font-weight: 700; }
.landing-purpose p { color: var(--landing-muted); font-size: 14.5px; }
.landing-values { margin-top: clamp(44px, 5vw, 64px); }
.landing-values > h3 { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.landing-values-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin-top: 26px; }
.landing-values-list > div { padding-top: 18px; border-top: 3px solid var(--landing-gold); }
.landing-values-list h4 { margin: 0 0 8px; font-size: 16.5px; font-weight: 700; }
.landing-values-list p { color: var(--landing-muted); font-size: 14.5px; }

.landing-services, .landing-process { background: var(--landing-paper); }
.landing-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 52px; }
.landing-section-heading > p { max-width: 380px; color: var(--landing-muted); font-size: 15.5px; }
.landing-service-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.landing-service { position: relative; display: flex; grid-column: span 2; min-height: 400px; flex-direction: column; align-items: flex-start; padding: 196px 26px 26px; border: 1px solid var(--landing-line); border-radius: 20px; background: #fff; box-shadow: 0 10px 30px #0b122008; overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.landing-service:nth-child(4), .landing-service:nth-child(5) { grid-column: span 3; }
.landing-service::before { position: absolute; top: 0; right: 0; left: 0; height: 164px; background-position: center; background-size: cover; content: ""; }
.landing-service:nth-child(1)::before { background-image: linear-gradient(0deg, #0b122042, #0b122000 55%), url("assets/psf-solar-rooftop.jpg"); }
.landing-service:nth-child(2)::before { background-image: linear-gradient(0deg, #0b122042, #0b122000 55%), url("assets/psf-mep-electrical.jpg"); }
.landing-service:nth-child(3)::before { background-image: linear-gradient(0deg, #0b122042, #0b122000 55%), url("assets/psf-engineering-lift.jpg"); }
.landing-service:nth-child(4)::before { background-image: linear-gradient(0deg, #0b122042, #0b122000 55%), url("assets/psf-automotive-servicing.jpg"); }
.landing-service:nth-child(5)::before { background-image: linear-gradient(0deg, #0b122042, #0b122000 55%), url("assets/psf-engineering-field-work.jpg"); }
.landing-service-icon { position: absolute; top: 136px; left: 24px; display: grid; width: 52px; height: 52px; place-items: center; margin: 0; border: 3px solid #fff; border-radius: 14px; background: var(--landing-gold); color: #0b1220; font-size: 24px; line-height: 1; }
.landing-service h3 { margin-bottom: 9px; font-size: 20px; font-weight: 700; }
.landing-service p { max-width: 440px; margin-bottom: 24px; color: var(--landing-muted); font-size: 14.5px; }
.landing-service a { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; color: var(--landing-gold-deep); font-size: 13px; font-weight: 800; }
.landing-service a::after { content: "→"; }
.landing-service-details { width: 100%; margin: 0 0 22px; border-top: 1px solid var(--landing-line); }
.landing-service-details summary { padding: 14px 0; color: var(--landing-gold-deep); font-size: 13px; font-weight: 800; cursor: pointer; }
.landing-service-details p { margin-bottom: 0; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .landing-service:hover { transform: translateY(-8px); border-color: #f59e0b66; box-shadow: 0 26px 50px #0b122016; }
  .landing-work figure:hover img { transform: scale(1.045); }
}

.landing-approach { background: var(--landing-navy); color: #fff; }
.landing-approach .landing-label { color: var(--landing-gold-soft); }
.landing-approach-grid > div:first-child > p:not(.landing-label) { max-width: 500px; margin: 26px 0 30px; color: #c4ccdb; }
.landing-approach-list::before { display: block; height: 220px; margin-bottom: 30px; border-radius: 18px; background: url("assets/psf-hero-solar-dusk.jpg") center 70% / cover no-repeat; content: ""; }
.landing-approach-list { counter-reset: approach; }
.landing-approach-list > div { display: grid; grid-template-columns: 44px 1fr; gap: 4px 18px; padding: 24px 0; border-bottom: 1px solid #ffffff1f; counter-increment: approach; }
.landing-approach-list > div::before { grid-row: span 2; padding-top: 3px; color: var(--landing-gold-soft); font-family: var(--font-display); font-size: 15px; font-weight: 800; letter-spacing: .1em; content: "0" counter(approach); }
.landing-approach-list h3 { font-size: 19px; font-weight: 700; }
.landing-approach-list p { color: #aab4c7; font-size: 14.5px; }

.landing-work-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 18px; }
.landing-work figure { position: relative; min-height: 240px; overflow: hidden; border-radius: 20px; background: var(--landing-navy); color: #fff; }
.landing-work-feature { grid-row: span 2; min-height: 520px; }
.landing-work img { position: absolute; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.landing-work figure::after { position: absolute; inset: 0; background: linear-gradient(0deg, #0b1220ea, #0b122000 62%); content: ""; }
.landing-work figcaption { position: absolute; right: 26px; bottom: 24px; left: 26px; z-index: 1; display: grid; justify-items: start; gap: 10px; }
.landing-work figcaption span { padding: 5px 13px; border-radius: 999px; background: var(--landing-gold); color: #0b1220; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.landing-work figcaption strong { font-family: var(--font-display); font-size: clamp(18px, 1.9vw, 26px); font-weight: 700; line-height: 1.25; }
.landing-project-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.landing-project-highlights > div { padding: 26px; border: 1px solid var(--landing-line); border-radius: 18px; background: var(--landing-paper); }
.landing-project-highlights h3 { margin-bottom: 8px; font-size: 17px; font-weight: 700; }
.landing-project-highlights p { color: var(--landing-muted); font-size: 14.5px; }

.landing-process-intro { max-width: 600px; margin-top: 20px !important; color: var(--landing-muted); }
.landing-timeline { position: relative; max-width: 980px; margin: 54px auto 0; padding: 0; list-style: none; }
.landing-timeline::before { position: absolute; top: 0; bottom: 0; left: 50%; border-left: 1px dashed #b7bfcd; content: ""; }
.landing-timeline > li { position: relative; width: 50%; padding: 0 38px 30px 0; }
.landing-timeline > li:nth-child(even) { margin-left: 50%; padding: 0 0 30px 38px; }
.landing-timeline > li::before { position: absolute; top: 25px; right: -7px; z-index: 1; width: 14px; height: 14px; border: 3px solid var(--landing-paper); border-radius: 50%; background: var(--landing-gold); box-shadow: 0 0 0 1px var(--landing-gold); content: ""; }
.landing-timeline > li:nth-child(even)::before { right: auto; left: -7px; }
.timeline-card { overflow: hidden; border: 1px solid var(--landing-line); border-radius: 18px; background: #fff; box-shadow: 0 12px 32px #0b12200b; }
.timeline-card img { display: block; width: 100%; height: 165px; object-fit: cover; }
.landing-timeline > li:first-child img { object-position: center 85%; }
.timeline-card summary { position: relative; display: flex; min-height: 62px; align-items: center; justify-content: space-between; gap: 16px; padding: 17px 24px; color: var(--landing-ink); font-family: var(--font-display); font-size: 16.5px; font-weight: 700; list-style: none; cursor: pointer; }
.timeline-card summary::-webkit-details-marker { display: none; }
.timeline-card summary::after { flex: 0 0 auto; color: var(--landing-gold-deep); font-size: 24px; font-weight: 400; line-height: 1; content: "+"; }
.timeline-card details[open] summary { background: var(--landing-navy); color: #fff; }
.timeline-card details[open] summary::after { color: var(--landing-gold-soft); content: "−"; }
.timeline-card details p { padding: 20px 24px 26px; color: var(--landing-muted); font-size: 14.5px; line-height: 1.7; }

.landing-group { background: var(--landing-navy); color: #fff; padding-top: 86px; padding-bottom: 86px; }
.landing-group .landing-label { color: var(--landing-gold-soft); }
.landing-group-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 44px; }
.landing-group-list div { display: grid; gap: 8px; padding: 26px; border: 1px solid #ffffff1c; border-radius: 18px; background: #ffffff08; }
.landing-group-list strong { font-family: var(--font-display); font-size: 17px; font-weight: 800; letter-spacing: .05em; color: var(--landing-gold-soft); }
.landing-group-list span { color: #b9c2d4; font-size: 14.5px; }

.landing-contact { background: #eef2f8; }
.landing-contact-grid > div > p:not(.landing-label) { max-width: 480px; margin-top: 22px; color: var(--landing-muted); }
.landing-contact-details { display: grid; gap: 22px; margin-top: 40px; }
.landing-contact-details div { display: grid; gap: 3px; }
.landing-contact-details span { color: var(--landing-muted); font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.landing-contact-details a, .landing-contact-details strong { color: var(--landing-ink); font-size: 16.5px; font-weight: 800; overflow-wrap: anywhere; }
.landing-contact-details a:hover { color: var(--landing-gold-deep); text-decoration: underline; }
.landing-whatsapp { margin-top: 30px; background: #0c7a4d; color: #fff; box-shadow: inset 0 1px 0 #ffffff47, inset 0 -2px 0 #00000052, 0 1px 2px #00000066, 0 12px 30px #0c7a4d40; }
.landing-whatsapp:hover { background: #09633e; color: #fff; box-shadow: inset 0 1px 0 #ffffff52, inset 0 -2px 0 #0000004a, 0 1px 2px #00000059, 0 16px 36px #0c7a4d52; }
.landing-form { display: grid; gap: 8px; padding: clamp(26px, 3vw, 44px); border: 1px solid #fff; border-radius: 22px; background: #ffffffe8; box-shadow: 0 26px 60px #0b122012; }
.landing-form h3 { margin-bottom: 12px; font-size: 25px; font-weight: 700; letter-spacing: -.01em; }
.landing-form label { margin-top: 10px; color: #39424f; font-size: 13px; font-weight: 800; }
.landing-form :is(input, select, textarea) { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #ccd4e0; border-radius: 12px; background-color: #fff; color: var(--landing-ink); font: inherit; font-size: 15px; }
.landing-form :is(input, select, textarea):focus-visible { border-color: var(--landing-gold); outline-offset: 1px; }
.landing-form textarea { resize: vertical; }
.landing-form select { padding-right: 32px; }
.landing-form button { width: 100%; margin-top: 14px; }
.landing-form > p { color: var(--landing-muted); font-size: 12.5px; }

.public-footer { display: block; padding: 62px max(calc((100vw - 1240px) / 2), 32px) 26px; background: #080d17; color: #c3cbda; font-size: 13.5px; }
.landing-footer-main { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.landing-footer-main img { display: block; width: 100px; height: 50px; object-fit: contain; margin-bottom: 14px; }
.landing-footer-main nav, .landing-footer-main > div:last-child { display: grid; align-content: start; gap: 13px; }
.landing-footer-main a { color: #e4e9f3; font-weight: 600; overflow-wrap: anywhere; }
.landing-footer-main a:hover { color: var(--landing-gold-soft); text-decoration: underline; text-underline-offset: 4px; }
.landing-footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid #ffffff1a; color: #8d97ab; font-size: 12px; }

@media (max-width: 800px) {
  .landing-container { width: min(100% - 40px, 1240px); }
  .public-header { min-height: 70px; padding: 0 20px; }
  .public-brand-logo { width: 80px; }
  .public-nav { gap: 15px; }
  .public-nav a { display: inline; }
  .public-nav a:nth-child(1), .public-nav a:nth-child(3) { display: none; }
  .public-nav a, .public-login { font-size: 12px; }
  .public-login { min-height: 38px; padding: 0 13px; }
  .landing-hero { min-height: 700px; }
  .landing-hero-image { background-position: center, center, 63% center; }
  .landing-hero-content { padding-top: 76px; padding-bottom: 170px; }
  .landing-hero-bottom { gap: 9px 22px; padding: 18px 20px; }
  .landing-about-grid, .landing-approach-grid, .landing-contact-grid { grid-template-columns: 1fr; gap: 38px; }
  .landing-about-copy { padding-top: 0; }
  .landing-about-media img { aspect-ratio: 16 / 9; }
  .landing-purpose { gap: 14px; margin-top: 48px; }
  .landing-section-heading { align-items: start; flex-direction: column; gap: 18px; }
  .landing-service { grid-column: span 3; }
  .landing-service:nth-child(5) { grid-column: span 6; }
  .landing-approach-list::before { height: 180px; }
  .landing-timeline::before { left: 7px; }
  .landing-timeline > li, .landing-timeline > li:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 24px 34px; }
  .landing-timeline > li::before, .landing-timeline > li:nth-child(even)::before { right: auto; left: 0; }
}
@media (max-width: 500px) {
  .landing-hero { min-height: 660px; }
  .landing-hero h1 { font-size: clamp(42px, 11vw, 58px); }
  .landing-hero-image { background-image: linear-gradient(90deg, #0b1220f0, #0b1220a6), linear-gradient(0deg, #0b1220c4, transparent 48%), url("assets/psf-solar-rooftop.jpg"); background-position: center, center, 60% center; }
  .landing-actions { align-items: stretch; flex-direction: column; max-width: 330px; }
  .landing-purpose, .landing-values-list, .landing-project-highlights, .landing-group-list { grid-template-columns: 1fr; }
  .landing-values-list, .landing-project-highlights { gap: 20px; }
  .landing-service, .landing-service:nth-child(4), .landing-service:nth-child(5) { grid-column: span 6; min-height: 360px; }
  .landing-work-grid { grid-template-columns: 1fr; }
  .landing-work-feature { grid-row: auto; min-height: 300px; }
  .landing-work figure { min-height: 250px; }
  .landing-approach-list > div { grid-template-columns: 36px 1fr; }
  .landing-footer-main { grid-template-columns: 1fr 1fr; }
  .landing-footer-main > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 360px) {
  body:has(#auth-shell:not([hidden]) .public-homepage:not([hidden])) { min-width: 0; }
  .public-header { gap: 8px; padding-inline: 14px; }
  .public-brand-logo { width: 65px; }
  .public-nav { gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .public-homepage *, .public-homepage *::before, .public-homepage *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media (prefers-reduced-motion: no-preference) {
  html:has(.public-homepage:not([hidden])) { scroll-behavior: smooth; }
  .landing-hero-content > * { animation: landing-rise .85s cubic-bezier(.2, .6, .2, 1) both; }
  .landing-hero-content > :nth-child(2) { animation-delay: .1s; }
  .landing-hero-content > :nth-child(3) { animation-delay: .2s; }
  .landing-hero-content > :nth-child(4) { animation-delay: .3s; }
  .reveal-ready .landing-reveal { opacity: 0; transform: translateY(14px); transition: opacity .45s ease-out, transform .45s ease-out; will-change: opacity, transform; }
  .reveal-ready .landing-reveal.landing-reveal-visible { opacity: 1; transform: none; will-change: auto; }
}
@keyframes landing-rise {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
