/*
Theme Name:   Home Pro (Electrician)
Theme URI:    https://github.com/devopstein/Home-Professional-Website
Description:  Bilingual one-page site for a home-services professional, ported from the "Local Electrician" Replit design. GeneratePress child theme with ACF blocks, a built-in inquiry form and a demo mode.
Author:       Sharon
Template:     generatepress
Version:      1.0.0
Requires at least: 6.4
Requires PHP: 7.4
License:      GNU General Public License v2 or later
Text Domain:  homepro
*/

/* ==========================================================================
   Tokens. Change colours here (or override these variables in
   Appearance → Customize → Additional CSS) to re-brand the site.
   ========================================================================== */
.homepro {
	--hp-navy: #122a43;
	--hp-navy-deep: #0b2035;
	--hp-ink: #1b3653;
	--hp-accent: #ff6a00;
	--hp-accent-hover: #ff8124;
	--hp-muted: #617285;
	--hp-line: #d7e0e8;
	--hp-soft-blue: #edf2f6;
	--hp-cream: #f8f7f2;
	--hp-bg: #f9f8f5;
	--hp-card: #fffdf9;
	--hp-font: 'Heebo', 'DM Sans', system-ui, sans-serif;
	--hp-font-latin: 'DM Sans', 'Heebo', system-ui, sans-serif;
	--hp-header-h: 82px;
}

/* ==========================================================================
   Base (scoped to the .homepro body class so GeneratePress defaults lose)
   ========================================================================== */
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body.homepro {
	margin: 0;
	background: var(--hp-bg);
	color: var(--hp-navy);
	font-family: var(--hp-font);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	font-synthesis: none;
	text-rendering: optimizeLegibility;
}
.homepro *, .homepro *::before, .homepro *::after { box-sizing: border-box; }
.homepro button, .homepro input, .homepro textarea, .homepro select { font: inherit; }
.homepro button, .homepro a { -webkit-tap-highlight-color: transparent; }
.homepro ::selection { background: var(--hp-accent); color: var(--hp-navy); }
.homepro .hp-icon { display: inline-block; flex-shrink: 0; vertical-align: middle; }
.homepro [hidden] { display: none !important; }

/* GeneratePress containers: let the landing page run edge to edge. */
.homepro.hp-landing .site.grid-container,
.homepro.hp-landing #page { max-width: none; width: 100%; padding: 0; margin: 0; background: transparent; }
.homepro.hp-landing .site-content { display: block; padding: 0; }
.homepro .site-footer { background: transparent; color: inherit; }
.homepro .hp-main { display: block; }
.homepro .hp-main > :where(p, h1, h2, h3, ul, ol, figure, .wp-block-group):not([class*="hp-"]) { max-width: 1240px; margin-inline: auto; padding-inline: 30px; }

/* Other pages (privacy, accessibility statement…): one readable column in the brand type. */
.homepro:not(.hp-landing) .site.grid-container { max-width: 900px; }
.homepro:not(.hp-landing) .site-content { padding-block: 40px 70px; }
.homepro:not(.hp-landing) .inside-article { border-radius: 14px; }
.homepro .entry-title, .homepro .page-title { color: var(--hp-navy); font-family: var(--hp-font); font-weight: 800; letter-spacing: -.03em; }
.homepro .entry-content a { color: var(--hp-navy); text-decoration-color: var(--hp-accent); text-underline-offset: 3px; }

/* Skip link (GeneratePress prints it; make sure it is visible on focus). */
.homepro .skip-link:focus { z-index: 100; }

/* ==========================================================================
   Header
   ========================================================================== */
.homepro .hp-header {
	height: var(--hp-header-h); position: sticky; top: 0; z-index: 30;
	background: rgba(248, 247, 242, .94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(18, 42, 67, .12);
}
.homepro.admin-bar .hp-header { top: 32px; }
.homepro .hp-header-inner { max-width: 1240px; padding: 0 30px; margin: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.homepro .hp-brand { display: flex; align-items: center; gap: 11px; color: var(--hp-navy); text-decoration: none; font-weight: 800; letter-spacing: -.04em; font-size: 18px; white-space: nowrap; }
.homepro .hp-brand:hover, .homepro .hp-brand:focus { color: var(--hp-navy); }
.homepro .hp-brand-mark { width: 38px; height: 38px; display: grid; place-items: center; background: var(--hp-navy); color: var(--hp-accent); border-radius: 50% 50% 50% 12%; flex-shrink: 0; }
.homepro .hp-brand-mark .hp-icon { width: 20px; height: 20px; }
.homepro .hp-nav { display: flex; align-items: center; gap: 30px; }
.homepro .hp-nav a { text-decoration: none; color: #5e6f80; font-size: 13px; font-weight: 600; transition: color .2s; }
.homepro .hp-nav a:hover, .homepro .hp-nav a:focus-visible { color: var(--hp-navy); text-decoration: underline; text-decoration-color: var(--hp-accent); text-underline-offset: 5px; }
.homepro .hp-header-actions { display: flex; align-items: center; gap: 12px; }
.homepro .hp-lang { display: inline-block; border: 1px solid #c8d2dd; background: transparent; border-radius: 999px; padding: 9px 13px; color: var(--hp-navy); font-size: 12px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: background .2s, transform .2s; }
.homepro .hp-lang:hover, .homepro .hp-lang:focus-visible { background: #fce7d8; color: var(--hp-navy); transform: translateY(-1px); }
.homepro .hp-header-call { display: flex; align-items: center; gap: 8px; text-decoration: none; color: #fff; background: var(--hp-accent); border-radius: 999px; padding: 12px 17px; font-size: 13px; font-weight: 700; line-height: 1.2; transition: background .2s, transform .2s, box-shadow .2s; box-shadow: 0 5px 14px rgba(255, 106, 0, .24); }
.homepro .hp-header-call:hover, .homepro .hp-header-call:focus { color: #fff; background: var(--hp-accent-hover); transform: translateY(-1px); box-shadow: 0 8px 18px rgba(255, 106, 0, .28); }
.homepro .hp-header-call .hp-icon { width: 16px; height: 16px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.homepro .hp-button { min-height: 53px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 20px; border-radius: 9px; font-size: 14px; font-weight: 700; line-height: 1.2; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; border: 0; cursor: pointer; }
.homepro .hp-button:hover { transform: translateY(-2px); }
.homepro .hp-button .hp-icon { width: 18px; height: 18px; }
.homepro .hp-button-primary, .homepro .hp-button-primary:visited { color: #fff; background: var(--hp-accent); box-shadow: 0 8px 18px rgba(255, 106, 0, .24); }
.homepro .hp-button-primary:hover, .homepro .hp-button-primary:focus { color: #fff; background: var(--hp-accent-hover); box-shadow: 0 10px 22px rgba(255, 106, 0, .3); }
.homepro .hp-button-primary:focus-visible, .homepro .hp-header-call:focus-visible { outline: 3px solid var(--hp-navy); outline-offset: 3px; }
.homepro .hp-button-secondary, .homepro .hp-button-secondary:visited { color: var(--hp-navy); background: var(--hp-soft-blue); border: 1px solid var(--hp-line); }
.homepro .hp-button-secondary:hover, .homepro .hp-button-secondary:focus { color: var(--hp-navy); background: #e4ebf1; }
.homepro .hp-button[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ==========================================================================
   Hero
   ========================================================================== */
.homepro .hp-hero { max-width: 1240px; margin: 0 auto; padding: 58px 30px 52px; display: grid; grid-template-columns: .94fr 1.06fr; gap: 54px; align-items: center; min-height: 650px; }
.homepro .hp-hero-copy { padding: 10px 0 20px; position: relative; z-index: 2; }
.homepro .hp-eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #566c7e; font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.homepro .hp-eyebrow::before { content: ''; width: 27px; height: 1px; background: var(--hp-accent); }
.homepro .hp-hero h1 { margin: 24px 0 20px; max-width: 560px; font-family: var(--hp-font); font-size: clamp(48px, 6vw, 78px); line-height: 1.09; letter-spacing: -.055em; font-weight: 800; color: var(--hp-navy); text-transform: none; }
.homepro .hp-hero h1 em { color: var(--hp-navy); font-style: normal; text-decoration: underline; text-decoration-color: var(--hp-accent); text-decoration-thickness: .09em; text-underline-offset: .12em; }
.homepro .hp-hero-lede { max-width: 460px; margin: 0; color: var(--hp-muted); font-size: 17px; line-height: 1.8; }
.homepro .hp-hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.homepro .hp-hero-note { display: flex; align-items: center; gap: 9px; margin: 19px 0 0; color: #6b7886; font-size: 11px; line-height: 1.5; }
.homepro .hp-hero-note .hp-icon { width: 15px; height: 15px; color: var(--hp-accent); flex-shrink: 0; }
.homepro .hp-hero-visual { min-height: 518px; position: relative; border-radius: 48% 48% 14px 14px; overflow: hidden; background: #e7edf3; isolation: isolate; margin: 0; }
.homepro .hp-hero-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 32, 53, 0) 45%, rgba(11, 32, 53, .38)); z-index: 0; }
.homepro .hp-hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: center; }
.homepro .hp-photo-caption { position: absolute; bottom: 26px; right: 29px; left: 29px; color: #fff; z-index: 1; display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.homepro .hp-photo-caption strong { font-size: 17px; font-weight: 600; min-width: 0; }
.homepro .hp-photo-caption span { flex-shrink: 0; font-family: var(--hp-font-latin); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; color: #fff4e9; direction: ltr; unicode-bidi: isolate; }

/* ==========================================================================
   Trust strip
   ========================================================================== */
.homepro .hp-strip { background: var(--hp-navy); color: #f6f8fb; }
.homepro .hp-strip-inner { max-width: 1240px; margin: auto; padding: 22px 30px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.homepro .hp-strip-lead { font-size: 13px; font-weight: 600; color: var(--hp-accent); }
.homepro .hp-strip-detail { display: flex; align-items: center; gap: 10px; color: #e2eaf1; font-size: 12px; }
.homepro .hp-strip-detail .hp-icon { width: 17px; height: 17px; color: var(--hp-accent); }
.homepro .hp-strip-separator { width: 1px; height: 29px; background: rgba(237, 232, 205, .28); }

/* ==========================================================================
   Shared section typography
   ========================================================================== */
.homepro .hp-section { max-width: 1240px; margin: auto; padding: 106px 30px; }
.homepro .hp-kicker { color: var(--hp-navy); font-family: var(--hp-font-latin); font-size: 11px; font-weight: 800; letter-spacing: .17em; text-transform: uppercase; }
.homepro .hp-kicker::before { content: ''; display: inline-block; width: 14px; height: 3px; margin-inline-end: 9px; border-radius: 999px; background: var(--hp-accent); vertical-align: middle; }
.homepro .hp-heading { max-width: 610px; margin: 14px 0 17px; color: var(--hp-navy); font-family: var(--hp-font); font-size: clamp(35px, 4vw, 52px); line-height: 1.15; letter-spacing: -.045em; font-weight: 800; text-transform: none; }
.homepro .hp-intro { max-width: 575px; margin: 0; color: var(--hp-muted); font-size: 15px; line-height: 1.85; }

/* ==========================================================================
   Services
   ========================================================================== */
.homepro .hp-services-intro { max-width: 760px; }
.homepro .hp-services-intro .hp-heading { max-width: 760px; }
.homepro .hp-service-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 42px; }
.homepro .hp-service-groups.hp-count-1 { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.homepro .hp-service-group { min-width: 0; padding: 26px 28px 14px; border: 1px solid var(--hp-line); border-top: 4px solid var(--hp-accent); border-radius: 12px; background: var(--hp-card); }
.homepro .hp-service-group-heading { display: flex; align-items: center; gap: 14px; }
.homepro .hp-service-group-mark { width: 44px; height: 44px; display: grid; place-items: center; flex-shrink: 0; border-radius: 12px; background: var(--hp-accent); color: #fff; }
.homepro .hp-service-group-mark .hp-icon { width: 22px; height: 22px; }
.homepro .hp-service-group-heading h3 { margin: 0; color: var(--hp-navy); font-family: var(--hp-font); font-size: 22px; font-weight: 800; line-height: 1.3; }
.homepro .hp-service-list { border-top: 1px solid var(--hp-line); margin-top: 21px; }
.homepro .hp-service-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) 24px; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--hp-line); }
.homepro .hp-service-number { color: var(--hp-navy); border-inline-start: 3px solid var(--hp-accent); padding-inline-start: 8px; font-family: var(--hp-font-latin); font-size: 12px; line-height: 1.4; }
.homepro .hp-service-row h4 { margin: 0 0 5px; color: var(--hp-ink); font-family: var(--hp-font); font-size: 16px; font-weight: 700; line-height: 1.4; }
.homepro .hp-service-row p { margin: 0; color: var(--hp-muted); font-size: 13px; line-height: 1.65; }
.homepro .hp-service-icon { width: 20px; height: 20px; color: var(--hp-accent); }

/* ==========================================================================
   Process
   ========================================================================== */
.homepro .hp-process { background: var(--hp-soft-blue); }
.homepro .hp-process-inner { max-width: 1240px; margin: auto; padding: 94px 30px 100px; }
.homepro .hp-process-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 43px; }
.homepro .hp-process-head .hp-heading { margin-bottom: 0; max-width: 540px; }
.homepro .hp-process-aside { max-width: 280px; margin: 0; color: var(--hp-muted); font-size: 13px; line-height: 1.75; }
.homepro .hp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(var(--hp-steps, 3), 1fr); border-top: 1px solid #d2dde7; }
.homepro .hp-step { margin: 0; padding-block: 27px 8px; padding-inline: 0 30px; position: relative; }
.homepro .hp-step:not(:last-child) { border-inline-end: 1px solid #d2dde7; }
.homepro .hp-step:not(:first-child) { padding-inline-start: 30px; }
.homepro .hp-step-num { display: inline-block; padding-bottom: 5px; border-bottom: 2px solid var(--hp-accent); color: var(--hp-navy); font-family: var(--hp-font-latin); font-size: 12px; letter-spacing: .12em; direction: ltr; unicode-bidi: isolate; }
.homepro .hp-step h3 { margin: 22px 0 9px; color: #163451; font-family: var(--hp-font); font-size: 20px; font-weight: 700; line-height: 1.3; }
.homepro .hp-step p { margin: 0; max-width: 290px; color: var(--hp-muted); font-size: 14px; line-height: 1.8; }

/* ==========================================================================
   Contact
   ========================================================================== */
.homepro .hp-contact { background: var(--hp-navy); color: #f7f9fc; }
.homepro .hp-contact-inner { max-width: 1240px; margin: auto; padding: 104px 30px 112px; display: grid; grid-template-columns: .83fr 1.17fr; gap: 85px; align-items: start; }
.homepro .hp-contact .hp-kicker { color: var(--hp-accent); }
.homepro .hp-contact .hp-heading { color: #f7f9fc; max-width: 440px; }
.homepro .hp-contact .hp-intro { color: #d9e4ee; }
.homepro .hp-contact-methods { margin-top: 38px; display: grid; gap: 14px; }
.homepro .hp-contact-method, .homepro a.hp-contact-method:visited { display: flex; gap: 15px; align-items: center; color: #f7f9fc; text-decoration: none; }
.homepro a.hp-contact-method:hover, .homepro a.hp-contact-method:focus { color: #fff; }
.homepro a.hp-contact-method:hover .hp-contact-method-icon { border-color: var(--hp-accent); }
.homepro .hp-contact-method-icon { width: 43px; height: 43px; display: grid; place-items: center; border: 1px solid rgba(243, 240, 230, .25); border-radius: 50%; color: var(--hp-accent); flex-shrink: 0; transition: border-color .2s; }
.homepro .hp-contact-method-icon .hp-icon { width: 19px; height: 19px; }
.homepro .hp-contact-method small { display: block; margin-bottom: 3px; color: #c7d5e3; font-size: 11px; }
.homepro .hp-contact-method strong { display: block; font-family: var(--hp-font-latin); font-size: 14px; }
.homepro .hp-contact-method strong.hp-ltr { direction: ltr; unicode-bidi: isolate; text-align: start; }
.homepro.rtl .hp-contact-method strong.hp-ltr { text-align: right; }
.homepro .hp-contact-note { max-width: 350px; margin: 22px 0 0; padding: 12px 14px; border-inline-start: 2px solid var(--hp-accent); color: #d9e4ee; font-size: 11px; line-height: 1.65; }

/* Form card */
.homepro .hp-inquiry { background: #fbfaf6; color: #183652; padding: 34px; border-radius: 14px; box-shadow: 0 22px 50px rgba(18, 42, 67, .14); margin: 0; }
.homepro .hp-form-title { margin: 0 0 7px; color: #183652; font-family: var(--hp-font); font-size: 24px; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; }
.homepro .hp-form-subtitle { margin: 0 0 25px; color: var(--hp-muted); font-size: 13px; line-height: 1.6; }
.homepro .hp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.homepro .hp-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; }
.homepro .hp-field[hidden] { display: none; }
.homepro .hp-field-full { grid-column: 1 / -1; }
.homepro .hp-field > label, .homepro .hp-field > legend { color: #294560; font-size: 12px; font-weight: 700; padding: 0; margin: 0; }
.homepro .hp-field > legend { margin-bottom: 7px; }
.homepro .hp-field input[type="text"], .homepro .hp-field input[type="tel"], .homepro .hp-field input[type="email"], .homepro .hp-field textarea {
	width: 100%; border: 1px solid #cbd5df; border-radius: 7px; background: #fff; padding: 13px 14px; color: #193653; font-size: 14px; line-height: 1.4; outline: none; transition: border .2s, box-shadow .2s; margin: 0; box-shadow: none;
}
.homepro .hp-field input:focus, .homepro .hp-field textarea:focus { border-color: var(--hp-navy); box-shadow: 0 0 0 3px rgba(255, 106, 0, .24); background: #fff; color: #193653; }
.homepro .hp-field input::placeholder, .homepro .hp-field textarea::placeholder { color: #8493a3; opacity: 1; }
.homepro .hp-field input[aria-invalid="true"], .homepro .hp-field textarea[aria-invalid="true"] { border-color: #c4554a; }
.homepro.rtl .hp-field input[dir="ltr"] { text-align: right; }
.homepro .hp-field textarea { min-height: 110px; resize: vertical; }
.homepro .hp-form-error { color: #a94036; font-size: 11px; min-height: 14px; line-height: 1.3; }

/* Preferred contact method */
.homepro .hp-methods { display: flex; flex-wrap: wrap; gap: 8px; }
.homepro .hp-method { position: relative; display: inline-flex; margin: 0; cursor: pointer; }
.homepro .hp-method input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.homepro .hp-method span { display: inline-flex; align-items: center; gap: 7px; padding: 10px 14px; border: 1px solid #cbd5df; border-radius: 999px; background: #fff; color: #294560; font-size: 13px; font-weight: 600; line-height: 1.2; transition: border-color .2s, background .2s, color .2s; }
.homepro .hp-method span .hp-icon { width: 16px; height: 16px; color: var(--hp-muted); }
.homepro .hp-method:hover span { border-color: var(--hp-navy); }
.homepro .hp-method input:checked + span { border-color: var(--hp-navy); background: var(--hp-navy); color: #fff; }
.homepro .hp-method input:checked + span .hp-icon { color: var(--hp-accent); }
.homepro .hp-method input:focus-visible + span { outline: 3px solid rgba(255, 106, 0, .45); outline-offset: 2px; }

/* Honeypot: off-screen, not display:none (some bots skip hidden fields). */
.homepro .hp-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

.homepro .hp-form-actions { display: flex; align-items: center; gap: 15px; margin-top: 18px; }
.homepro .hp-form-actions .hp-button { flex: 0 0 auto; }
.homepro .hp-form-hint { color: #77807b; font-size: 10px; line-height: 1.55; }
.homepro .hp-form-status { margin-top: 14px; color: #a94036; font-size: 12px; line-height: 1.6; min-height: 18px; }
.homepro .hp-form-status:empty { min-height: 0; margin: 0; }

/* Success state */
.homepro .hp-inquiry.is-sent .hp-form-body { display: none; }
.homepro .hp-form-success { text-align: start; }
.homepro .hp-form-success[hidden] { display: none; }
.homepro .hp-success-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #fff1e6; color: var(--hp-accent); margin-bottom: 16px; }
.homepro .hp-success-icon .hp-icon { width: 26px; height: 26px; }
.homepro .hp-form-success h3 { margin: 0 0 8px; color: #183652; font-family: var(--hp-font); font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.3; }
.homepro .hp-form-success p { margin: 0 0 18px; color: var(--hp-muted); font-size: 14px; line-height: 1.7; }
.homepro .hp-success-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.homepro .hp-link-button { background: none; border: 0; padding: 0; color: var(--hp-navy); font-size: 13px; font-weight: 700; text-decoration: underline; text-decoration-color: var(--hp-accent); text-underline-offset: 4px; cursor: pointer; }
.homepro .hp-link-button:hover, .homepro .hp-link-button:focus { background: none; color: var(--hp-navy); }
.homepro .hp-success-demo { margin-top: 18px !important; padding: 10px 12px; border-inline-start: 2px solid var(--hp-accent); background: #fff6ee; font-size: 12px !important; color: #6b5a4b !important; }

/* ==========================================================================
   FAQ (native <details>, one open at a time via name="")
   ========================================================================== */
.homepro .hp-faq { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; align-items: start; }
.homepro .hp-faq-list { border-top: 1px solid var(--hp-line); }
.homepro .hp-faq-item { border-bottom: 1px solid var(--hp-line); }
.homepro .hp-faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; color: var(--hp-navy); font-size: 15px; font-weight: 700; line-height: 1.5; cursor: pointer; list-style: none; }
.homepro .hp-faq-item summary::-webkit-details-marker { display: none; }
.homepro .hp-faq-item summary::marker { content: ''; }
.homepro .hp-faq-item summary:focus-visible { outline: 3px solid rgba(255, 106, 0, .45); outline-offset: 4px; border-radius: 4px; }
.homepro .hp-faq-toggle { width: 30px; height: 30px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: var(--hp-accent); color: #fff; transition: transform .2s; }
.homepro .hp-faq-toggle .hp-icon { width: 19px; height: 19px; }
.homepro .hp-faq-item[open] .hp-faq-toggle { transform: rotate(180deg); }
.homepro .hp-faq-answer { color: var(--hp-muted); font-size: 13px; line-height: 1.8; padding: 0 0 20px; max-width: 620px; animation: hp-reveal .25s ease both; }
.homepro .hp-faq-answer p { margin: 0 0 .8em; }
.homepro .hp-faq-answer p:last-child { margin: 0; }

/* ==========================================================================
   Footer + mobile contact bar
   ========================================================================== */
.homepro .hp-footer { border-top: 1px solid var(--hp-line); background: var(--hp-bg); }
.homepro .hp-footer-inner { max-width: 1240px; margin: auto; padding: 29px 30px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #69798a; font-size: 11px; }
.homepro .hp-footer-brand { display: flex; align-items: center; gap: 10px; color: var(--hp-navy); font-weight: 800; font-size: 13px; }
.homepro .hp-footer-brand .hp-brand-mark { width: 29px; height: 29px; }
.homepro .hp-footer-brand .hp-brand-mark .hp-icon { width: 16px; height: 16px; }
.homepro .hp-footer-links { display: flex; gap: 19px; }
.homepro .hp-footer-links a { display: inline-flex; align-items: center; gap: 4px; color: #5e6f80; text-decoration: none; }
.homepro .hp-footer-links a .hp-icon { width: 12px; height: 12px; }
.homepro .hp-footer-links a:hover, .homepro .hp-footer-links a:focus-visible { color: var(--hp-navy); text-decoration: underline; text-decoration-color: var(--hp-accent); text-underline-offset: 4px; }
.homepro .hp-mobile-bar { display: none; }

/* ==========================================================================
   Demo-mode dialog
   ========================================================================== */
.homepro .hp-dialog { width: min(420px, calc(100vw - 32px)); padding: 0; border: 0; border-radius: 16px; background: #fbfaf6; color: var(--hp-navy); box-shadow: 0 30px 80px rgba(11, 32, 53, .35); }
.homepro .hp-dialog::backdrop { background: rgba(11, 32, 53, .55); backdrop-filter: blur(2px); }
.homepro .hp-dialog-body { padding: 26px 24px 22px; }
.homepro .hp-dialog-badge { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; padding: 5px 10px; border-radius: 999px; background: #fff1e6; color: #b84a00; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.homepro .hp-dialog-badge .hp-icon { width: 13px; height: 13px; }
.homepro .hp-dialog h2 { margin: 0 0 8px; color: var(--hp-navy); font-family: var(--hp-font); font-size: 20px; font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.homepro .hp-dialog p { margin: 0 0 14px; color: var(--hp-muted); font-size: 14px; line-height: 1.65; }
.homepro .hp-dialog-close { position: absolute; top: 12px; inset-inline-end: 12px; width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--hp-muted); cursor: pointer; }
.homepro .hp-dialog-close:hover, .homepro .hp-dialog-close:focus { background: var(--hp-soft-blue); color: var(--hp-navy); }
.homepro .hp-dialog-close .hp-icon { width: 18px; height: 18px; }
.homepro .hp-dialog-actions { display: flex; justify-content: flex-end; margin-top: 18px; }
.homepro .hp-dialog-actions .hp-button { min-height: 44px; }
/* WhatsApp chat preview */
.homepro .hp-chat { border-radius: 12px; overflow: hidden; border: 1px solid var(--hp-line); }
.homepro .hp-chat[hidden] { display: none; }
.homepro .hp-chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--hp-navy); color: #fff; font-size: 13px; font-weight: 700; }
.homepro .hp-chat-head .hp-brand-mark { background: rgba(255, 255, 255, .12); }
.homepro .hp-chat-head .hp-brand-mark { width: 28px; height: 28px; }
.homepro .hp-chat-head .hp-brand-mark .hp-icon { width: 15px; height: 15px; }
.homepro .hp-chat-head small { display: block; font-size: 10px; font-weight: 400; opacity: .8; }
.homepro .hp-chat-body { padding: 14px 12px 16px; background: var(--hp-soft-blue); display: flex; flex-direction: column; }
.homepro .hp-chat-bubble { align-self: flex-end; max-width: 88%; padding: 8px 10px 6px; border-radius: 8px 8px 2px 8px; background: #fff1e6; color: var(--hp-navy); font-size: 13px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.homepro.rtl .hp-chat-bubble { align-self: flex-start; border-radius: 8px 8px 8px 2px; }
.homepro .hp-chat-meta { display: block; margin-top: 2px; text-align: end; color: var(--hp-muted); font-size: 10px; }

/* ==========================================================================
   Motion
   ========================================================================== */
.homepro .hp-reveal { animation: hp-rise .72s cubic-bezier(.2, .7, .2, 1) both; }
.homepro .hp-reveal-delay { animation-delay: .12s; }
.homepro .hp-reveal-delay-2 { animation-delay: .23s; }
@keyframes hp-rise { from { opacity: 0; transform: translateY(17px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hp-reveal { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

/* Latin scripts get slightly tighter display type (as in the design). */
.homepro:not(.rtl) .hp-hero h1 { letter-spacing: -.06em; }
.homepro:not(.rtl) .hp-brand { letter-spacing: -.035em; }
.homepro:not(.rtl) .hp-heading { letter-spacing: -.05em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
	.homepro .hp-nav { gap: 16px; }
	.homepro .hp-nav a { font-size: 12px; }
	.homepro .hp-hero { gap: 30px; min-height: 590px; }
	.homepro .hp-hero-visual { min-height: 450px; }
	.homepro .hp-service-groups { gap: 18px; }
	.homepro .hp-contact-inner { gap: 42px; }
}
@media (max-width: 782px) {
	.homepro.admin-bar .hp-header { top: 46px; }
}
@media (max-width: 700px) {
	html { scroll-padding-top: 72px; }
	.homepro { --hp-header-h: 68px; }
	.homepro .hp-header-inner { padding: 0 18px; gap: 10px; }
	.homepro .hp-brand { font-size: 15px; gap: 8px; }
	.homepro .hp-brand-mark { width: 34px; height: 34px; }
	.homepro .hp-header-actions { gap: 8px; }
	.homepro .hp-header-call { width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; }
	.homepro .hp-header-call span { display: none; }
	.homepro .hp-lang { padding: 8px 10px; font-size: 11px; }
	.homepro .hp-nav { display: none; }
	.homepro .hp-hero { display: flex; flex-direction: column-reverse; align-items: stretch; gap: 0; padding: 22px 18px 37px; min-height: auto; }
	.homepro .hp-hero-visual { min-height: 310px; height: 310px; border-radius: 46% 46% 10px 10px; margin: 0 4px 30px; }
	.homepro .hp-photo-caption { bottom: 19px; right: 19px; left: 19px; }
	.homepro .hp-hero h1 { font-size: clamp(43px, 12vw, 61px); margin: 17px 0 13px; }
	.homepro .hp-hero-lede { font-size: 15px; line-height: 1.75; }
	.homepro .hp-hero-actions { margin-top: 23px; }
	.homepro .hp-hero-actions .hp-button { flex: 1; min-height: 50px; padding: 0 12px; font-size: 13px; }
	.homepro .hp-hero-note { align-items: flex-start; }
	.homepro .hp-strip-inner { padding: 17px 19px; justify-content: flex-start; gap: 13px; flex-wrap: wrap; }
	.homepro .hp-strip-lead { width: 100%; font-size: 12px; }
	.homepro .hp-strip-detail { font-size: 11px; }
	.homepro .hp-strip-separator { height: 20px; }
	.homepro .hp-section { padding: 72px 20px; }
	.homepro .hp-heading { font-size: 37px; }
	.homepro .hp-intro { font-size: 14px; }
	.homepro .hp-faq { display: block; }
	.homepro .hp-service-groups { grid-template-columns: 1fr; gap: 16px; margin-top: 29px; }
	.homepro .hp-service-group { padding: 22px 18px 12px; }
	.homepro .hp-service-group-heading h3 { font-size: 20px; }
	.homepro .hp-service-list { margin-top: 18px; }
	.homepro .hp-service-row { grid-template-columns: 35px minmax(0, 1fr) 20px; gap: 12px; padding: 17px 0; }
	.homepro .hp-service-row h4 { font-size: 15px; }
	.homepro .hp-process-inner { padding: 72px 20px 78px; }
	.homepro .hp-process-head { display: block; margin-bottom: 31px; }
	.homepro .hp-process-aside { margin-top: 15px; }
	.homepro .hp-steps { display: block; }
	.homepro .hp-step, .homepro .hp-step:not(:first-child), .homepro .hp-step:not(:last-child) { border-inline-end: 0; border-bottom: 1px solid #d2dde7; padding: 22px 0; }
	.homepro .hp-step h3 { margin: 11px 0 6px; font-size: 18px; }
	.homepro .hp-step p { max-width: none; font-size: 13px; }
	.homepro .hp-contact-inner { display: flex; flex-direction: column; gap: 35px; padding: 73px 20px 80px; }
	.homepro .hp-contact .hp-heading { font-size: 38px; }
	.homepro .hp-contact-methods { margin-top: 27px; }
	.homepro .hp-inquiry { width: 100%; padding: 24px 20px; border-radius: 12px; }
	.homepro .hp-form-title { font-size: 22px; }
	.homepro .hp-form-grid { grid-template-columns: 1fr; gap: 13px; }
	.homepro .hp-field-full { grid-column: auto; }
	.homepro .hp-form-actions { flex-direction: column; align-items: stretch; gap: 10px; }
	.homepro .hp-form-actions .hp-button { width: 100%; }
	.homepro .hp-faq > div:first-child { margin-bottom: 31px; }
	.homepro .hp-faq-item summary { font-size: 14px; }
	.homepro .hp-footer-inner { padding: 25px 20px 86px; flex-wrap: wrap; }
	.homepro .hp-footer-links { gap: 13px; }
	.homepro .hp-mobile-bar { position: fixed; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; bottom: 0; left: 0; right: 0; z-index: 25; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(248, 247, 242, .96); border-top: 1px solid var(--hp-line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
	.homepro .hp-mobile-bar .hp-button { min-height: 45px; border-radius: 8px; font-size: 12px; padding: 0 10px; }
}
@media (max-width: 600px) {
	.homepro.admin-bar .hp-header { top: 0; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.homepro *, .homepro *::before, .homepro *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
