/* ============================================================================
 * ONE FORM DESIGN FOR THE WHOLE SITE
 *
 * WHY ITS OWN FILE
 *
 * The two Contact Form 7 forms appear in four places: the network pages, /contact/, the Campaign Request
 * panel, and any page carrying the shortcode. Only the first of those loads hills-billboard.css, so the
 * rules had to live somewhere unconditional, the same lesson the mega menu taught on 19 August.
 *
 * WHAT SHAHIN ASKED FOR, AND WHAT EACH RULE ANSWERS
 *
 *   "the name does not need to be two fields"   the form now has one, done in the form definition
 *   "company appears twice"                     an injector was adding a second, fixed in inc/forms.php
 *   "two per row"                               .hills-f--half below
 *   "no label beside it, put it in the field"   .hills-f__label is hidden here, placeholders carry the name
 *   "one style for every form"                  this file, and both forms now emit the same classes
 *
 * THE LABELS ARE STILL THERE. They are hidden the accessible way rather than removed, because a
 * placeholder is not an accessible name: a screen reader may not announce it, and it disappears from the
 * screen the moment somebody starts typing, which takes the field's meaning with it. Anyone who has ever
 * filled in a long form and forgotten what the third box was for has met that bug.
 * ========================================================================= */

.hills-f{--f-ink:#12263a;--f-mute:#5b6b7c;--f-line:#d7dee5;--f-navy:#0B1742;--f-accent:#1F49E3;
	margin:0 0 1rem}

/* The rows. A form is a grid so a half sits beside a half without floats or clears. */
.wpcf7-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.1rem;align-items:start}
.wpcf7-form > .hills-f{grid-column:1 / -1;margin:0}
.wpcf7-form > .hills-f--half{grid-column:span 1}
@media (max-width:600px){
	.wpcf7-form{grid-template-columns:minmax(0,1fr)}
	.wpcf7-form > .hills-f--half{grid-column:1 / -1}
}

/* Visually hidden, still read aloud. The clip pair covers old and current browsers. */
.hills-f__label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;
	clip:rect(0,0,0,0);clip-path:inset(50%);white-space:nowrap;border:0}

.hills-f .wpcf7-form-control{box-sizing:border-box;width:100%;padding:.85rem 1rem;font:inherit;font-size:max(16px,1rem);
	color:var(--f-ink);background:#fff;border:1px solid var(--f-line);border-radius:var(--hd-r-12,12px);
	transition:border-color .15s,box-shadow .15s}
.hills-f .wpcf7-form-control::placeholder{color:var(--f-mute);opacity:1}
.hills-f .wpcf7-form-control:focus{outline:0;border-color:var(--hd-blue,#1F49E3);
	box-shadow:0 0 0 3px rgba(31,73,227,.18)}
.hills-f textarea.wpcf7-form-control{min-height:7rem;resize:vertical}
.hills-f select.wpcf7-form-control{appearance:none;
	background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' fill='none' stroke='%235b6b7c' stroke-width='1.8'%3E%3Cpath d='M1 1l6 6 6-6'/%3E%3C/svg%3E");
	background-repeat:no-repeat;background-position:right 1rem center;padding-right:2.6rem}

/*
 * 16px is the floor on the inputs and it is not a style choice. Below it, iOS zooms the page in when a
 * field takes focus and does not zoom back out, which on a phone leaves the visitor mid form on a page
 * twice the width of the screen.
 */

.hills-f--submit{display:flex}
/* The one button design, shared with .hb-btn: 52 tall, radius 14, 24 of side padding, bold 14, no caps. */
.hills-f .wpcf7-submit{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
	width:auto;height:52px;padding:0 var(--hd-s-24,24px);font-family:var(--hd-font,inherit);font-size:var(--hd-fs-14,14px);
	font-weight:700;letter-spacing:0;text-transform:none;color:#fff;background:var(--f-accent);border:0;
	border-radius:var(--hd-r-15,15px);cursor:pointer;box-shadow:var(--hd-shadow-btn,0 6px 16px rgba(0,16,38,.18));
	transition:background .18s}
.hills-f .wpcf7-submit:hover,.hills-f .wpcf7-submit:focus-visible{background:var(--f-navy)}

/* Contact Form 7's own messages, which arrive outside our markup. */
.wpcf7-form .wpcf7-response-output{grid-column:1 / -1;margin:.25rem 0 0;padding:.8rem 1rem;
	border-radius: var(--hills-r-btn);border-width:1px;font-size:max(12px,.95rem)}
.wpcf7-form .wpcf7-not-valid-tip{display:block;margin-top:.35rem;color:#b3261e;font-size:max(12px,.85rem)}
.hills-f .wpcf7-not-valid{border-color:#b3261e}
.wpcf7-spinner{margin:0 0 0 .75rem}

/*
 * The Get in touch band where it is inserted into a theme page rather than one of our templates. Its own
 * styles come from hills-billboard.css, which those pages do not load, so the composition is repeated here:
 * the argument on a tinted panel, the form in a white card beside it, one column on a phone.
 */
/*
 * The band used to sit on its own between two pages' worth of white, which read as the page having
 * ended and something else beginning. Shahin asked for it closer to what is above it. The space below
 * is left alone, because the footer does need a break before it.
 */
.hills-ask-wrap{padding:clamp(1.2rem,2.4vw,2rem) 0 clamp(2.5rem,6vw,5rem)}
.hills-ask-wrap .hills-net-band{max-width:76rem;margin:0 auto;padding:0 clamp(1rem,4vw,2rem)}
/* align-items:stretch so the navy intro and the white form stand the same height with no empty ground
   beside the shorter one (Shahin, 8 Oct: "فشي فراغات أو مساحات فارغة"). */
.hills-ask-wrap .hills-net-ask{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);
	gap:clamp(1.5rem,3vw,3rem);align-items:stretch}
/* One radius across the whole Get in touch box, Shahin 8 Oct ("radius منعملها موحدة"): the band, the navy
   intro and the white form all take --hills-r-box (16px) so the corners read as one family instead of 12 / 24 / 16. */
.hills-ask-wrap .hills-net-band--tint,
.hills-ask-wrap .hills-net-ask__say,
.hills-ask-wrap .hills-net-ask__form{border-radius:16px}
.hills-ask-wrap .hills-net-ask__say{padding:clamp(1.5rem,3vw,2.4rem);
	/* Shahin, 7 Oct 2026: the two-stop gradient read as two colours with a diagonal seam ("لونين خلفيات").
	   One solid navy instead, so the panel is a single colour. */
	background:#172452;color:#fff}
/* The drifting blue glows (hills-billboard.css .hills-net-ask__say::before/::after) are what actually read as
   two colours on the Get in touch box. Hidden in the contact context only, so the panel is one flat navy; the
   network pages' ask band keeps them. */
.hills-ask-wrap .hills-net-ask__say::before,
.hills-ask-wrap .hills-net-ask__say::after{display:none}
.hills-ask-wrap .hills-net-h2{margin:0 0 .7rem;color:#fff;font-size:clamp(1.5rem,3vw,2.1rem);line-height:1.15}
.hills-ask-wrap .hills-net-ask__lede{margin:0 0 1.2rem;color:rgba(255,255,255,.84);line-height:1.6}
.hills-ask-wrap .hills-net-ask__phone a{color:#fff;font-size:clamp(1.1rem,2vw,1.4rem);font-weight:700;
	text-decoration:none;border-bottom:2px solid var(--f-accent,#1F49E3);padding-bottom:.15rem}
.hills-ask-wrap .hills-net-ask__facts{list-style:none;margin:1.4rem 0 0;padding:0}
.hills-ask-wrap .hills-net-ask__facts li{padding:.7rem 0;border-top:1px solid rgba(255,255,255,.18);
	color:rgba(255,255,255,.9);font-size:max(12px,.95rem)}
.hills-ask-wrap .hills-net-ask__form{padding:clamp(1.4rem,3vw,2.2rem);border-radius:var(--hd-r-16,16px);background:#fff;
	box-shadow:var(--hd-shadow-panel,0 18px 48px rgba(0,16,38,.14))}
@media (max-width:820px){.hills-ask-wrap .hills-net-ask{grid-template-columns:minmax(0,1fr)}}

/*
 * THE HEIGHT, AND WHERE IT WAS GOING
 *
 * Shahin: the form is far too tall beside the Ask about this one panel, with too much empty space.
 *
 * The cause is a <br> that Contact Form 7 inserts after the label text inside every field's label. That is
 * correct behaviour for a form with visible labels, where it puts the field on the line below its name. Our
 * label text is hidden, so the break produces an empty line above every single field: seven fields, seven
 * blank lines, and none of them visible as anything except height.
 *
 * Hiding the break rather than removing it from the form definition, because it is generated at render time
 * and would come back the moment anybody edited the form in the Contact Form 7 screen.
 */
.hills-f label br{display:none}
.hills-f label{display:block}

/* Tighter rhythm now that the phantom lines are gone. */
.wpcf7-form{gap:.75rem .85rem}
.hills-f .wpcf7-form-control{padding:.7rem .9rem}
.hills-f textarea.wpcf7-form-control{min-height:4.6rem}
.hills-f--submit{margin-top:.15rem}
.hills-f .wpcf7-submit{padding:.8rem 1.9rem}

/* The response line only needs room when it has something to say. */
.wpcf7-form .wpcf7-response-output:empty,
.wpcf7-form .wpcf7-response-output[aria-hidden="true"]{display:none}

/*
 * THE MESSAGE BOX WAS 334 PIXELS TALL
 *
 * Measured, and the cause was not min-height, which is what I kept adjusting. The theme's Contact Form 7
 * stylesheet sets an explicit `.wpcf7 textarea { height: 20.9em }`, and an explicit height ignores every
 * min-height rule written against it. That is why the form card came out 818 px beside a 413 px panel:
 * the box alone was most of the difference.
 *
 * Set on the class the theme itself uses, so this wins on specificity rather than on !important, and the
 * box is a box again: four rows, and it grows if the visitor drags it.
 */
.wpcf7 textarea.wpcf7-form-control,
.hills-f textarea.wpcf7-form-control{height:auto;min-height:5.2rem;resize:vertical}

/* Shahin's own value, 20 August. */
.hills-f textarea.wpcf7-form-control{max-height:1.6rem}

/*
 * The submit button sits on the last row. It used to share that row with the "3 + 4 =" quiz field to save a
 * row of height; the October review removed the quiz (the honeypot in inc/form-guard.php does the bot
 * catching, with nothing asked of the visitor), so the button is alone here now. Centre it, and drop the
 * always-hidden CF7 spinner whose reserved height nudged the button down. Shahin, 8 Oct 2026 ("مش نفس
 * المستوى، اشي فوق واشي تحت").
 */
.wpcf7-form > .hills-f--submit{grid-column:span 1;align-self:center}
.hills-f--submit .wpcf7-spinner{display:none !important}
/*
 * THE BUTTON HUGS ITS LABEL, IT DOES NOT FILL THE CELL.
 *
 * Shahin, on a phone: "wpcf7-submit صار كثير عريض وأخذ سماحة زيادة". The skin wrapper was width:100%, so the
 * blue fill stretched the full grid cell (246px on desktop, 308px on a phone) while "Send your message" needs
 * only 183px. The extra blue read as an oversized button. The wrapper now shrinks to the label, and the cell
 * keeps it to the start of the row rather than stretching it.
 */
.hills-f--submit{justify-content:flex-start}
.hills-f--submit .wpcf7-submit-style{display:inline-block;width:auto;max-width:100%}
.hills-f--submit .wpcf7-submit{width:auto}
@media (max-width:600px){
	.wpcf7-form > .hills-f--submit{grid-column:1 / -1}
}

/* The label overflowed its button once the button shared a row with the question. */
.hills-f--submit .wpcf7-submit{padding-inline:1rem;font-size:max(12px,.86rem);letter-spacing:.03em;
	white-space:nowrap;text-overflow:ellipsis;overflow:hidden}

/*
 * THE "WHAT IS YOUR ENQUIRY ABOUT?" FIELD IS HIDDEN, BECAUSE IT IS ALREADY ANSWERED.
 *
 * Shahin, 8 Oct 2026: "خليها hidden لانه أصلا هي read only". On a network or face page the answer is taken
 * from the page and written into a readonly input (.hills-f__known), so the question adds a row that asks
 * nothing. The whole field is taken out of the layout. The input keeps its name and value and still posts,
 * because a display:none control is submitted with the form, so [enquiry-type] still reaches the mail.
 */
.hills-f:has(.hills-f__known){display:none}

/*
 * BROWSE WHAT WE OWN, FIFTH AND FINAL SHAPE
 *
 * Four designs were rejected and the reason was the same every time, which I kept missing: two columns in
 * a 410 px sidebar gives each card about 180 px, and 180 px is not enough for a picture AND a name AND a
 * figure. Everything then had to be shrunk to fit, which is why each attempt looked cramped no matter how
 * it was styled. Shahin's instruction, finally plain: one per row.
 *
 * So each entry is a full width row: the picture on the left at a fixed size, the name and the count
 * stacked beside it with room to breathe. Nothing is squeezed, nothing overlaps, and a long network name
 * has 250 px instead of 120.
 *
 * The tint stays because it is what distinguishes six items whose pictures look alike, and it is now a
 * band down the left edge rather than the whole card, so eight coloured rows do not turn the sidebar into
 * a paint chart.
 */
.hills-side__h{margin:1.15rem 0 .55rem;font-size:max(12px,.78rem);font-weight:700;letter-spacing:.08em;
	text-transform:uppercase;color:var(--f-mute,#5b6b7c)}
.hills-side__h:first-child{margin-top:0}
.hills-side{list-style:none;margin:0 0 1rem;padding:0;display:grid;
	grid-template-columns:minmax(0,1fr) !important;gap:.5rem}
.hills-side li{margin:0;padding:0;border:0;display:block}

/*
 * THE COLOURED STRIP ON THE LEFT WAS READING AS A MISTAKE, SO IT IS GONE
 *
 * The strip took its colour from hills_core_panel_tint( $i ), whose palette is
 * #E1E9EF, #F7E6DC, #EBECEC, #E9EFF3. Against a white card three of those four are barely perceptible and
 * the second, the peach, is plainly visible. So in a list of four, one card appeared to have a coloured
 * edge and the rest did not, and Shahin read it as a card sitting out of line. It was decoration that
 * produced the appearance of a defect, which is the worst thing decoration can do.
 *
 * What replaces it: no border at all, a white card lifted off the page by a soft shadow. The page behind
 * is #f7f8f9, so white plus a shadow separates the card properly, where white plus a faint grey border
 * did not.
 *
 * min-height is what makes every card the same size, which is Shahin's rule for the whole site. It is set
 * from the picture, the tallest thing in the row, so the two line titles cannot make one card taller than
 * its neighbours. Measured before this: 85 px against 81 px on the row whose name runs to two lines.
 */
.hills-side a{position:relative;display:grid;grid-template-columns:6.2rem minmax(0,1fr);gap:.85rem;
	align-items:center;padding:.5rem .85rem .5rem .5rem;border-radius: var(--hills-r-box);text-decoration:none;
	min-height:calc(6.2rem / 1.5 + 1rem);
	background:#fff;border:0;box-shadow:0 1px 2px rgba(11,32,53,.06),0 3px 10px rgba(11,32,53,.05);
	transition:box-shadow .18s ease,transform .18s ease}
.hills-side a:hover{box-shadow:0 .55rem 1.4rem rgba(11,32,53,.15);transform:translateY(-2px)}

.hills-side__shot{position:relative;display:block;aspect-ratio:3/2;border-radius: var(--hills-r-btn);overflow:hidden;
	background:#eef3f8}
.hills-side__shot img{width:100%;height:100%;object-fit:cover;display:block}
.hills-side__shot--art{display:grid;place-items:center}
.hills-side__shot--art img{object-fit:contain;padding:.3rem}

.hills-side__text{display:block;min-width:0}
.hills-side b{display:block;font-weight:700;font-size:max(13px,.92rem);line-height:1.24;color:#0D1236;
	letter-spacing:-.01em;
	display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}

/* The count sits under the name, in the room a full width row provides. */
.hills-side__meta{display:block;margin-top:.2rem;font-size:max(12px,.78rem);font-weight:600;
	color:var(--f-mute,#5b6b7c);font-variant-numeric:tabular-nums}

@media (prefers-reduced-motion:reduce){
	.hills-side a,.hills-side a:hover{transition:none;transform:none}
}

/*
 * THE 120 PIXEL GAP UNDER THE HEADER
 *
 * Measured on a billboard page: .page_content_wrap carries padding-top:120px, so the header ends at 119
 * and the content starts at 994. Most of that is the theme's own breadcrumb space on a template that has
 * no breadcrumb. Shahin called it a big empty gap and it is exactly that.
 *
 * Reduced rather than removed: some air under a fixed header is right, 120 px of it is not.
 */
.single-cpt_services .page_content_wrap,
.tax-cpt_services_group .page_content_wrap{padding-top:2.2rem}

/*
 * THE EMPTY RIGHT COLUMN
 *
 * The sidebar is 885 px tall on a 3,742 px page, so two thirds of the right hand side was blank. Making it
 * follow the reader costs nothing and turns dead space into the thing it was for: somewhere to go next.
 */
@media (min-width:1024px){
	.single-cpt_services .sidebar_inner,
	.tax-cpt_services_group .sidebar_inner{position:sticky;top:7rem}
}

/*
 * THE STICKY BAR, COPIED FROM THE NETWORK PAGES RATHER THAN INVENTED
 *
 * Mine was a full width strip glued to the bottom edge with plain buttons, and one of them orange. Shahin
 * said it looked wrong beside the network one, and he was right twice over:
 *
 * The NETWORK bar floats. It has a gap on all three sides, rounded corners and a maximum width, so it reads
 * as a control resting over the page. Mine spanned the whole viewport and read as a browser toolbar.
 *
 * And I made Build a plan orange while the other two were plain. The comment in hills-billboard.css records
 * that he asked for exactly that to be undone on the network bar months ago, for a reason that still holds:
 * three buttons are three different jobs, not a ranking, and the page cannot know which one this reader
 * came for. I reintroduced a mistake he had already corrected.
 *
 * So these are the network bar's own rules, repeated here because these pages do not load that stylesheet.
 * The values are identical on purpose. If that bar changes, this block is the one place to match it.
 */
/*
 * THE BAR IS FIXED, SO THE PAGE HAS TO KNOW IT IS THERE.
 *
 * Shahin, 25 September 2026: "الصناديق قاعدة بتغطي الجزء اللي تحتها". It was not the boxes. This bar
 * is sixty five pixels of fixed furniture at the foot of the window and the page had no room reserved
 * for it, so the last band of every page it appears on was sitting underneath it, permanently. The
 * page reserves its height; nothing else changes.
 */
/* The floating "Get in touch" bar needs clearance so it never covers the footer. That clearance goes on the
   (dark) footer itself, not the body: as body padding it showed as a white band under the footer on every page
   that carries the bar (programmatic, contact, networks). Shahin, 8 Oct 2026. */
body:has(.hills-net-sticky){padding-bottom:0}
body:has(.hills-net-sticky) .hb-ft{padding-bottom:calc(var(--hd-s-100,100px) + 3.5rem)}

.hills-net-sticky{position:fixed;z-index:60;
	left:1rem;right:1rem;bottom:calc(1rem + env(safe-area-inset-bottom,0px));
	max-width:76rem;margin-inline:auto;
	/* Shahin, 8 Oct 2026: this file carried a second copy of the bar with an outer background around an inner
	   gradient = two background colours. The outer is now just the positioner with the shadow; the inner is the
	   single solid navy bar, matching hills-billboard.css. One background. */
	padding:0;border-radius:var(--hills-r-box,14px);
	box-shadow:0 .75rem 2rem rgba(4,24,44,.3);
	transform:translateY(calc(100% + 2rem));transition:transform .28s ease}
.hills-net-sticky.is-up{transform:none}
/* Hidden while the map section is on screen, so the bar never sits over the board (Shahin, 9 Oct). */
.hills-net-sticky.on-map{transform:translateY(calc(100% + 2rem))!important}
.hills-net-sticky__inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;
	gap:.6rem 1.5rem;background:#172452;padding:.85rem 1.2rem;border-radius:14px}
.hills-net-sticky__heading{margin:0 0 0 .5rem;font-size:1.05rem;font-weight:700;letter-spacing:-.01em;
	color:#fff;text-decoration:none;border-bottom:2px solid transparent;transition:border-color .15s ease}
.hills-net-sticky__heading:hover,
.hills-net-sticky__heading:focus-visible{color:#fff;border-bottom-color:#1F49E3}
.hills-net-sticky__buttons{display:flex;flex-wrap:wrap;gap:.5rem}
.hills-net-sbtn{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1rem;min-height:44px;
	font:inherit;font-size:.82rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;
	text-decoration:none;color:#fff;background:rgba(255,255,255,.14);
	border:1px solid rgba(255,255,255,.28);border-radius: var(--hills-r-box, 12px) !important;cursor:pointer;
	transition:background .15s ease,border-color .15s ease,transform .15s ease}
.hills-net-sbtn:hover,
.hills-net-sbtn:focus-visible{background:#fff;color:#192A6B;border-color:#fff;transform:translateY(-1px)}
.hills-net-sbtn svg{flex:0 0 auto}

/*
 * SCAN TO CALL: the desktop QR popover (Shahin, 12 Oct). Opened by the Call button on a fine pointer only;
 * on a phone it never appears and the tel: link dials directly. Pops up from the button with a light scale,
 * respecting reduced motion. The white card is its own quiet zone around the code.
 */
.hills-net-sbtn-wrap{position:relative;display:inline-flex}
/* Hidden until the Call button is clicked. display:none is stated on the class itself so it beats the
 * [hidden] UA rule either way: our stylesheet outranks the UA sheet at equal specificity, so relying on the
 * attribute alone would leave the card always on screen. It is shown only by the :not([hidden]) rule below. */
.hills-net-qr{position:absolute;bottom:calc(100% + 12px);left:50%;transform:translateX(-50%);z-index:6;
	width:max-content;max-width:min(80vw,240px);display:none;flex-direction:column;align-items:center;gap:.45rem;
	padding:16px 16px 14px;background:#fff;color:#172452;border-radius:14px;
	box-shadow:0 18px 44px rgba(11,17,48,.28),0 2px 8px rgba(11,17,48,.18);text-align:center}
.hills-net-qr::after{content:"";position:absolute;top:100%;left:50%;transform:translateX(-50%);
	border:8px solid transparent;border-top-color:#fff}
.hills-net-qr__canvas{width:140px;height:140px;display:block}
.hills-net-qr__canvas svg{width:100%;height:100%;display:block;shape-rendering:crispEdges}
.hills-net-qr__hint{font-size:.78rem;font-weight:600;line-height:1.3;letter-spacing:0;text-transform:none;color:#4a5578}
.hills-net-qr__cb{font-size:.72rem;font-weight:700;letter-spacing:.04em;text-transform:uppercase;
	color:#1F49E3;text-decoration:none;border-bottom:1px solid transparent}
.hills-net-qr__cb:hover,.hills-net-qr__cb:focus-visible{color:#1F49E3;border-bottom-color:#1F49E3}
.hills-net-qr:not([hidden]){display:flex;animation:hills-net-qr-pop .22s cubic-bezier(.2,.7,.2,1) both}
@keyframes hills-net-qr-pop{
	from{opacity:0;transform:translateX(-50%) translateY(8px) scale(.9)}
	to{opacity:1;transform:translateX(-50%) translateY(0) scale(1)}}
@media (prefers-reduced-motion:reduce){.hills-net-qr:not([hidden]){animation:none}}

/*
 * ICON ONLY ON A PHONE, ON EVERY PAGE. The Get in touch bar shows the same three controls everywhere,
 * but the icon-only rule used to live in hills-billboard.css, which loads on the billboard pages and not
 * on others, so the bar read as icons on some pages and icon-and-text on others (Shahin, 9 October: "في
 * كل الصفحات بالموبايل يبين ايقونات فقط"). The rule belongs beside the bar's own style, which loads
 * wherever the bar does, so it is the same on every page. The label stays in the DOM for screen readers.
 */
@media (max-width:760px){
	.hills-net-sbtn__label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
	.hills-net-sbtn{padding:.65rem .8rem}
}
@media (prefers-reduced-motion:reduce){
	.hills-net-sticky,.hills-net-sbtn{transition:none}
	.hills-net-sbtn:hover{transform:none}
}
.hills-side a b{font-weight:600;min-width:0;overflow:hidden;text-overflow:ellipsis}

/*
 * HOVER COLOURS STATED, NOT INHERITED
 *
 * Measured on a billboard page: the hover colour on our own components resolved to
 * var(--theme-color-alter_link) and var(--theme-color-extra_link), which are the theme's link variables.
 * They were chosen for the theme's own backgrounds and know nothing about the tinted plates, the navy
 * panel or the white cards we introduced. Shahin's worry is the exact failure mode that produces: a text
 * colour that lands on a background close enough to itself to disappear.
 *
 * So every interactive thing we drew states both its colours at rest and on hover. Nothing here inherits a
 * colour decision from a variable that somebody may retune for a different reason.
 *
 * The pairs and what they measure against their own backgrounds:
 *   sidebar card    #12263a on #f2f6fa is 15.9:1, and #192A6B on #ffffff on hover is 10.9:1
 *   sticky button   #ffffff on the navy bar is 12.6:1, and on the accent is 4.6:1
 *   band phone      #ffffff on the navy panel is 12.6:1
 * All are above the 4.5 minimum, and the two that matter most are far above it.
 */
.hills-side a,
.hills-side a:hover,
.hills-side a:focus-visible{text-decoration:none}
.hills-side a{color:#12263a}
.hills-side a:hover,
.hills-side a:focus-visible{color:#192A6B;background:#fff;border-color:#dfe6ec}

.hills-net-sbtn,
.hills-net-sbtn:visited{color:#fff}
.hills-net-sbtn:hover,
.hills-net-sbtn:focus-visible{color:#fff;background:var(--hills-brand-dark)}
.hills-net-sticky__heading,
.hills-net-sticky__heading:hover,
.hills-net-sticky__heading:focus-visible{color:#fff}

.hills-ask-wrap .hills-net-ask__phone a,
.hills-ask-wrap .hills-net-ask__phone a:hover{color:#fff}

/*
 * The same contrast correction. White on the brand orange #1F49E3 measures 3.65 to 1, under the 4.5
 * minimum; #1F49E3 measures 5.1 and reads as the same colour. Applied wherever white text sits ON the
 * orange, and nowhere that the orange is the text.
 */
.hills-f .wpcf7-submit{background:#1F49E3 !important;color:#fff !important}
.hills-f .wpcf7-submit:hover,.hills-f .wpcf7-submit:focus-visible{background:#0B1742 !important;color:#fff !important}

/*
 * THE GRID WAS RAGGED
 *
 * Shahin sent a screenshot and it was plainly wrong: the theme's own list bullets showing as blue dots
 * beside every card, cards at different heights, and their tops not lining up. Three faults, all mine, all
 * from the same omission: I styled the card and never reset the LIST it sits in.
 *
 * The theme puts a bullet on every li in a widget, gives it a bottom margin and lets each item find its own
 * height. Inside a two column grid that produces exactly what he photographed.
 *
 *   the bullet   removed, and the ::before that draws it
 *   the height   every card stretches to the tallest in its row, so the tops and bottoms line up
 *   the name     one line, clipped, so a long network name cannot push its card taller than its neighbour
 */
.sidebar .hills-side,
.widget .hills-side{list-style:none !important;margin:0 !important;padding:0 !important;
	align-items:stretch}
.sidebar .hills-side li,
.widget .hills-side li{list-style:none !important;margin:0 !important;padding:0 !important;
	border:0 !important;display:block;height:100%}
.sidebar .hills-side li::before,
.sidebar .hills-side li::marker,
.widget .hills-side li::before,
.widget .hills-side li::marker{content:none !important;display:none !important}

/*
 * Three rules lived here that forced the card into a column, left over from the fourth design. They came
 * later in the file than the fifth, so they won, and the row layout never appeared no matter how many
 * times it was written. Removed.
 *
 * The lesson, and it is the second time today: when a block is redesigned, delete the old one. Appending
 * a new version and leaving the old is how a stylesheet starts fighting itself.
 */

/*
 * THE BLUE DOTS CAME FROM THE WIDGET, NOT FROM THE LIST
 *
 * Hit tested at the point where they draw: the element there is the <aside class="widget"> itself, which
 * carries list-style:disc. It inherits down to our <ul> and its items, and every reset I wrote was aimed at
 * the li, so none of them touched the cause. Two failed attempts before measuring the right thing.
 *
 * Cleared on the widget, which is where it starts.
 */
.sidebar .widget_text,
.sidebar .widget_text .textwidget,
.sidebar .widget_text ul,
.sidebar .widget_text li{list-style:none !important}

/*
 * MEDIA TYPES sat behind the row above it, because the heading is a sibling of a grid whose items are
 * taller than the row it reserves. Given its own space it stops colliding.
 */
/* margin-bottom:.4rem !important was here, overriding the 1.6rem the fifth design sets. Removed. */
.hills-side__h{clear:both;position:relative;z-index:1}

/*
 * Build a plan matches the other two. It was orange, which is the treatment Shahin had already had removed
 * from the network bar once. Three buttons, three jobs, no ranking.
 */

/*
 * THE BLUE DOTS, FOUND AT THE FOURTH ATTEMPT
 *
 * They were never list markers. The theme draws a 6 by 6 navy square as an ::before on every ANCHOR inside
 * a sidebar widget, as a decorative bullet for the link lists it expects there. Our cards are anchors, so
 * each one collected a dot floating outside its top left corner.
 *
 * The three attempts before this cleared list-style on the li, then on the ul, then on the widget itself,
 * and every one of them was aimed at the wrong thing. Computed styles said the li had no marker and no
 * ::before, which was true and useless. What found it was walking the sidebar and asking which elements
 * paint a small coloured box.
 *
 * The lesson, written down because it cost four rounds: measure the thing that is WRONG, not the thing you
 * assume is causing it.
 */
.sidebar .hills-side a::before,
.sidebar .hills-side a::after,
.widget .hills-side a::before,
.widget .hills-side a::after{content:none !important;display:none !important}

/*
 * THE THEME MAKES EVERY WIDGET IMAGE A CIRCLE
 *
 * Shahin found this and I did not, after looking in the wrong place twice. The theme carries:
 *
 *   .widget li a > img, .widget li span > img { border-radius: 50% }
 *
 * meant for the author avatars its own widgets show. Our cards are images inside anchors inside widget list
 * items, so every network map and every drawing was being cut into an oval. The source files are 960 by 540
 * rectangles and always were; the shape was applied on top of them.
 *
 * Two lessons from the same afternoon: the blue dots and this were both the theme decorating a structure it
 * recognised, and both times I inspected our own rules instead of asking what else claims that element.
 */
.widget .hills-side li a > img,
.widget .hills-side li span > img,
.sidebar .hills-side li a > img,
.sidebar .hills-side li span > img{border-radius:0 !important}
.hills-side__shot img{border-radius:0 !important}

/* No heading above the groups now, so the first group label carries the top edge. */
.sidebar .widget_text .widget_title:empty,
.sidebar .widget_text .widget_title:blank{display:none}
.hills-side__h:first-child{margin-top:0}
.hills-side{margin-bottom:1.1rem}

/*
 * The submit button measured 3.65 to 1: white on the brand orange, under the 4.5 minimum. My earlier fix
 * was scoped to .hills-f .wpcf7-submit and this instance sits in a different wrapper, so it never applied.
 * Written on the class Contact Form 7 puts on every submit it renders, wherever it renders it.
 */
.wpcf7-submit,
input.wpcf7-submit,
.wpcf7 input[type="submit"]{background:#1F49E3 !important;color:#fff !important;border-color:#1F49E3 !important}
.wpcf7-submit:hover,
input.wpcf7-submit:hover,
.wpcf7 input[type="submit"]:hover{background:#0B1742 !important;color:#fff !important;border-color:#0B1742 !important}

/*
 * THE CONTACT PAGE, TWO EQUAL COLUMNS
 *
 * Shahin: the first column is squeezed. The office details sit in a narrow rail beside a much wider form,
 * so the address wraps every second word while the form has room to spare. Half and half, which is also
 * how the Get in touch band on every other page is laid out.
 *
 * SCOPED TO THE CONTENT, BECAUSE THE HEADER IS AN ELEMENTOR SECTION TOO.
 *
 * The first version of this said `.page-id-1453 .elementor-section .elementor-container > .elementor-column`
 * and it did exactly what it was told: on that page it forced EVERY Elementor column to half width,
 * including the two in the site header, which are 33 and 66. The header's right column lost a third of its
 * width, the menu and the enquiry button stopped fitting on one line, the button dropped to a second row
 * and the header grew from 119px to 141px. Shahin: "الهيدر خربان".
 *
 * The header lives inside .sc_layouts_row, so excluding that is the whole fix. It is done with :not on the
 * section rather than by scoping to a content class, because this page's content wrapper is Elementor's own
 * and its class changes when the page is re-saved.
 */
.page-id-1453 .elementor-section:not(.sc_layouts_row) .elementor-container > .elementor-column.elementor-col-33,
.page-id-1453 .elementor-section:not(.sc_layouts_row) .elementor-container > .elementor-column.elementor-col-66,
.page-id-1453 .elementor-section:not(.sc_layouts_row) .elementor-container > .elementor-column.elementor-col-25,
.page-id-1453 .elementor-section:not(.sc_layouts_row) .elementor-container > .elementor-column.elementor-col-75{width:50% !important}
@media (max-width:880px){
	.page-id-1453 .elementor-section:not(.sc_layouts_row) .elementor-container > .elementor-column{width:100% !important}
}

/* Less air above the band Shahin pointed at, which opened with more than a screen of empty space. */
.elementor-element-8d8012a{padding-top:clamp(1.5rem,3vw,2.5rem) !important}

/*
 * THE FLOATING CAMPAIGN REQUEST BUTTON IS RETIRED
 *
 * It sat at the bottom right of every page, which is now where the Get in touch bar sits. Two floating
 * controls in the same corner is one too many, and Shahin's decision is that the interest list gives way to
 * the planner. The bar carries Enquire, the phone number and Build a plan, which is everything this button
 * offered and one thing more.
 *
 * Hidden rather than deleted: the panel it opens still works for anyone with a saved list, and the module
 * can be switched back on in one line if the list is kept after all. Nothing is thrown away while that is
 * still an open question.
 */
.hills-il-trigger{display:none !important}

/*
 * THE SIDEBAR'S OWN SPACING
 *
 * The widget carried the theme's padding for a stack of text widgets, which is generous for paragraphs and
 * loose for a grid of cards. Tightened so the block reads as one panel rather than as cards floating in a
 * box, and the top edge lines up with the content beside it.
 */
.sidebar_inner{padding:clamp(1.1rem,2vw,1.6rem) !important}
.sidebar_inner > .widget{margin-bottom:0 !important}
.sidebar_inner > .widget:not(:last-child){margin-bottom:1.4rem !important}
.sidebar_inner .widget_title{margin-bottom:.8rem}

/*
 * ONE LEVEL OF BOX, NOT TWO, AND THE GREY TAKEN BACK AS WIDTH
 *
 * Measured on a billboard page at 1440 before this block:
 *
 *   div.sidebar_inner   background #f8f8f8, padding 24px
 *   aside.widget        padding 0 40px
 *   every row           a white card with a border, inside that grey
 *
 * 64 px of grey down each side, so a 410 px column carried a 282 px list, and a white box sat inside a
 * grey box around every single row. Two frames, one of which held nothing but colour.
 *
 * What this does. The grey panel and both paddings come off the column that holds our cards, which returns
 * about 120 px of width to the content and removes the outer frame. The rows then lose their own card
 * treatment, because with the grey gone there is nothing left to separate them from: a hairline between
 * rows does that job with one pixel instead of a border, a radius and a shadow.
 *
 * Result: one visual level. The pictures and the names are the only things drawn.
 *
 * Scoped to .hills-side-host, added in get-in-touch.php only on documents that contain these cards, so
 * every other sidebar on the site keeps the theme's panel.
 */
/*
 * THE TWO RULES THAT HAD TO BE BEATEN, NAMED SO THE NEXT PERSON DOES NOT GUESS
 *
 * Read off the live page with CSS.getMatchedStylesForNode rather than searched for by eye:
 *
 *   .sidebar_inner                              padding: clamp(1.1rem,2vw,1.6rem) !important   <- ours
 *   .sidebar_default[class*="scheme_"] .widget  padding: 0 40px                                <- the theme
 *   .sidebar_default[class*="scheme_"] .sidebar_inner  background-color: alter_bg              <- the theme
 *
 * The theme's two are specificity 0,3,0 and a plain class pair is 0,2,0, so the first attempt lost on
 * specificity, not on load order. Ours carries !important, so nothing without !important can beat it at
 * all. Hence !important here, at 0,2,0, which outranks a 0,1,0 !important and every non-important rule
 * whatever its specificity. It is the smallest hammer that actually lands.
 */
.sidebar_inner.hills-side-host{background:transparent !important;padding:0 !important}
.hills-side-host .widget{padding-left:0 !important;padding-right:0 !important}

.hills-side-host .hills-side{gap:0;margin-bottom:.4rem}

.hills-side-host .hills-side a,
.hills-side-host .hills-side a:hover,
.hills-side-host .hills-side a:focus-visible{
	background:transparent;border:0;border-radius:0;box-shadow:none;transform:none;
	padding:.6rem .2rem;
	border-bottom:1px solid rgba(15,35,56,.09)}
.hills-side-host .hills-side li:last-child a{border-bottom:0}

/* The picture is the only thing with a shape now, so it carries the radius the cards used to. */
.hills-side-host .hills-side__shot{border-radius: var(--hills-r-btn)}

/* Hover moves the row, since there is no longer a card to light up. */
.hills-side-host .hills-side a{transition:padding-left .18s ease,color .18s ease}
.hills-side-host .hills-side a:hover{padding-left:.55rem;color:#192A6B}

@media (prefers-reduced-motion:reduce){
	.hills-side-host .hills-side a,
	.hills-side-host .hills-side a:hover{transition:none;padding-left:.2rem}
}

/*
 * THE PICTURE GROWS INTO THE WIDTH THAT WAS JUST RECOVERED
 *
 * Taking the grey panel off returned the column from 282 px to 410 px. The thumbnail was sized for the
 * narrow column, so at the new width it sat small on the left with a long empty run to the right of the
 * name, which is the same wasted space complaint in a different place.
 *
 * 9rem against 6.2rem, and the vertical padding comes down, so the row is shorter and the picture is the
 * thing that fills it. Only inside .hills-side-host: the narrow layout is still correct anywhere the grey
 * panel remains.
 */
.hills-side-host .hills-side a{grid-template-columns:9rem minmax(0,1fr);gap:1rem;
	padding:.45rem .2rem;min-height:0}
.hills-side-host .hills-side b{font-size:max(14px,1rem)}
.hills-side-host .hills-side__meta{margin-top:.15rem}

/*
 * THE MAP WAS 165 PIXELS TALLER THAN THE BOX IT LIVES IN
 *
 * Measured on a billboard page, the chain under the second Google map:
 *
 *   iframe.skyward_resize.trx_addons_resize    height 450   (set by the theme's own resize script)
 *   div.sc_item_content.sc_map.sc_googlemap    height 285
 *   div.sc_googlemap_wrap                      height 285
 *   div.elementor-widget-container             height 285
 *
 * The theme's script grows the iframe to keep the map's ratio, but the Elementor widget's own height stays
 * at 285, so the frame overflows its box by 165 px and paints over whatever follows. That is what Shahin
 * was seeing as sections lying on top of each other, and it is why the upload button under it could not be
 * clicked: the map was covering it, so every click landed on the map instead of the button.
 *
 * It also explains the same fault on the Sheikh Zayed Road page, where the generated copy was drawn across
 * the map. The copy was not misplaced. The map was too tall for its container.
 *
 * The fix is the container, not the iframe: let the boxes take the height of what is inside them. Nothing
 * is resized, nothing is cropped, and the theme's ratio logic is left to do its job.
 */
.sc_googlemap_wrap,
.sc_item_content.sc_map.sc_googlemap,
.sc_googlemap .elementor-widget-container{height:auto !important;min-height:0 !important}
.sc_googlemap_wrap > iframe,
.sc_item_content.sc_map.sc_googlemap > iframe{display:block;max-width:100%}

/*
 * THE LIST OF LOCATIONS UNDER THE MAP WAS SET AS HEADINGS
 *
 * Measured on the Sheikh Zayed Road page: every billboard name in the list below the map is an
 * h2.sc_services_item_title at 27px, weight 700, with a line height of 27.6px. Nine of them to a screen.
 *
 * 27px is a page heading, and these are rows in a list a buyer scans down looking for a site. At that size
 * three names fill the view and the eye has to travel instead of compare. Shahin asked for 16 or 14.
 *
 * 16 it is, which keeps them clearly clickable and legible while roughly halving the space each takes. The
 * weight comes down from 700 to 600, because a list where every row is at maximum weight has no emphasis
 * left to give, and the line height opens to 1.35 so a two line name reads as one item rather than two.
 *
 * !important because our stylesheets are printed before all five of the theme's, so at equal specificity
 * the theme wins. Recorded as task A11 in docs/TASKS_OPEN.md, and until that is fixed this is what landing
 * a rule costs.
 */
.sc_services_item_title,
h2.sc_services_item_title,
.sc_services_item_title.entry-title{font-size:15px !important;line-height:1.3 !important;
	font-weight:600 !important;margin:.5rem 0 .2rem !important}
.sc_services_item_title a{font-size:inherit !important;line-height:inherit !important;
	font-weight:inherit !important}

/* The Read more under each name is a secondary action, so it sits below the name rather than beside it. */
.sc_services_item_more_link .link_text{font-size:13px !important}

/*
 * THE SPACE UNDER THE LOCATION LIST
 *
 * Measured before touching anything, because Shahin named a rule as the cause and it is worth knowing
 * whether it is:
 *
 *   .sc_services_accent .sc_services_item.with_image { padding: 2.6em }   computes to 0px here
 *   .sc_services_pagination                                              margin-top 15px, height 61px
 *   an Elementor spacer between the list and the footer                   50px
 *
 * So the rule he pointed at is already being overridden by something and is not what is taking the room.
 * The real total under the last row is about 110 px, which is the Load More block plus a spacer that was
 * placed in the page itself.
 *
 * It is pinned to zero all the same. If it ever wins on another screen width, and a rule that specific
 * usually exists because it did once, it will not reappear as a surprise.
 *
 * The spacer is left alone deliberately. It sits in the page's own Elementor content, and quietly
 * collapsing something an editor placed there means the next person to open the page finds a control that
 * does nothing.
 */
/* Shahin's own figure. Zero pinned the card to its neighbours; 0.3em is a hairline of air, not a border. */
.sc_services_accent .sc_services_item.with_image,
.sc_services_item.with_image{padding:.3em !important}

/* The card's text block sat away from its picture. Tightened, since the two belong to each other. */
.sc_services_item_info{padding-top:.15rem !important}
.sc_services_item_header{margin-bottom:.1rem !important}
.sc_services_item_button{margin-top:.1rem !important}

/* Load More was 15px clear of the last row and 50px clear of the footer. Halved on the side we own. */
.sc_services_pagination{margin-top:.35rem !important}

/*
 * A LIGHT RADIUS ON THE LIST PICTURES
 *
 * Measured: the picture is 434 by 290 inside a .post_featured wrapper of 430 by 287, and both were square.
 * The wrapper already carries overflow hidden, which is what makes a radius on it actually cut the picture
 * rather than leave square corners showing underneath.
 *
 * So the radius goes on the wrapper, and on the image as well for the case where a theme update removes
 * that overflow. Light, at 10px: enough to soften a hard corner against white, far from the circle the
 * theme applies to its own widget thumbnails, which is a fault we have had to undo elsewhere.
 */
.sc_services_item .post_featured,
.sc_services_item .post_featured.with_thumb{border-radius: var(--hills-r-btn) !important;overflow:hidden !important}
.sc_services_item .post_featured img{border-radius: var(--hills-r-btn) !important}

/*
 * THE BLACK VEIL OVER EVERY LOCATION PICTURE
 *
 * Measured: .mask inside each card's .post_featured, position absolute, z-index 3, background
 * rgba(0,0,0,.5), opacity 0 at rest with a half second transition. So it is invisible until the pointer
 * arrives and then covers the photograph in fifty per cent black.
 *
 * On a page whose whole purpose is to show what a site looks like, darkening the site under the pointer is
 * backwards: the visitor moves towards the picture they want to see and the picture dims. Shahin asked for
 * it to go.
 *
 * The card keeps its response through the title colour, which the theme already changes on hover, so
 * nothing is left feeling dead. Nine of these on this page, one per location.
 */
.sc_services_item .mask,
.sc_services_item .post_featured .mask{opacity:0 !important;background:transparent !important}

/*
 * EACH LOCATION BECOMES ITS OWN CARD
 *
 * Measured before: the three columns run 75 to 505, 505 to 935 and 935 to 1365. They touch exactly, and
 * the rows touch exactly too, so the only thing holding one location apart from the next was the 0.3em of
 * padding inside it. Nine pictures in a continuous block read as one wall rather than nine sites.
 *
 * The spacing goes on the column rather than on the card, and the wrap is pulled out by the same amount,
 * so the outer edges still line up with the heading above and nothing overflows. Putting it on the card
 * would have made the row wider than its container.
 *
 * A white ground, a hairline of shadow and a 12px radius are what turn a picture with a caption into a
 * card. The shadow is deliberately faint: two layers, one tight and one wide, which reads as a lift rather
 * than a drawn border.
 */
/*
 * Widened from 10 to 16 on Shahin's second look: 20 px between cards still read as a wall. 32 px is enough
 * for each card to hold its own edge, and the row still fits three across because the space is taken from
 * inside the column rather than added to the card.
 */
/*
 * THE FIRST TWO ATTEMPTS DID NOT LAND, AND THE REASON IS THE ONE FROM THIS MORNING
 *
 * Measured after writing them: column padding 0px, wrap margin 0px, cards running 75-505, 505-935,
 * 935-1365. Touching exactly, as before. The stylesheet was loaded, so the rule was read and lost.
 *
 * It lost on specificity. Our stylesheets print before all five of the theme's, so among declarations that
 * both carry !important the more specific one wins, and a two class selector was not more specific than
 * what the theme sets on its own grid. The child combinator and the second class on the wrapper are what
 * make this one win. Same lesson as the sidebar earlier today: read the winning rule, do not guess at it.
 *
 * 11px each side gives 22px between cards. Settled by eye across three passes: 44 overshot and broke the
 * row into nine unrelated objects, 30 was still a little loose, 22 separates without spacing them apart.
 * The kind of figure that only a person looking at it can choose.
 *
 * The outer edges still line up with the heading above because the wrapper is pulled back by the same
 * amount that is added inside it.
 */
.sc_services_columns_wrap.sc_item_columns{margin-left:-11px !important;margin-right:-11px !important}
.sc_services_columns_wrap.sc_item_columns > .trx_addons_column-1_3{padding:0 11px 22px !important}

.sc_services_accent .sc_services_item,
.sc_services_item{border-radius: var(--hills-r-box) !important;background:#fff !important;
	box-shadow:0 1px 2px rgba(11,32,53,.06),0 4px 16px rgba(11,32,53,.07) !important;
	overflow:hidden !important;
	transition:box-shadow .2s ease,transform .2s ease !important}
.sc_services_item:hover{box-shadow:0 3px 8px rgba(11,32,53,.09),0 10px 26px rgba(11,32,53,.12) !important;
	transform:translateY(-2px) !important}

/* The name and the link need room from the rounded edge now that there is one. */
/* The card breathes inside as well as outside, or the type sits against a rounded corner. */
.sc_services_item_info{padding:.5rem 1rem .9rem !important}

@media (prefers-reduced-motion:reduce){
	.sc_services_item,.sc_services_item:hover{transition:none !important;transform:none !important}
}

/*
 * THE BILLBOARD PAGE TITLE WAS SET AS A HOME PAGE HEADLINE
 *
 * Measured: h1.services_page_title at 52.5px, weight 700, line height 1em, taking two lines and 105px of
 * height before its 60px top margin. It inherits from the theme's global rule:
 *
 *   h1, .front_page_section_caption { font-size: 3.5rem }
 *
 * 3.5rem is a front page banner size. These titles are not banners, they are the names of products, and
 * they are long ones: "SZR Trade Centre Bridge, Face B (Sheikh Zayed Road towards Diyafa)". At 52px that
 * runs to two and sometimes three lines and pushes the specification boxes below the fold.
 *
 * Shahin asked whether this is a global setting and to change it there so it reaches every billboard. It
 * is global, and that is exactly why the global rule is left alone: it also sets the home page, the road
 * pages and the network pages. The class the theme puts on this particular title is what carries it to all
 * 98 billboard pages and nowhere else.
 *
 * 26px, after 34 was still too heavy for the page. It stays clearly the page's title, comfortably above
 * the 15px list beside it, and most names now fit on one line instead of two. The margin above comes down
 * with it, since 60px of clearance was spacing set for a 52px headline.
 *
 * Written against the class rather than the element, so every billboard page carries it, including the
 * ones added after today. That was Shahin's requirement: change it in the one place that reaches them all.
 */
h1.services_page_title,
.services_page_title{font-size:clamp(19px,1.85vw,26px) !important;line-height:1.24 !important;
	font-weight:700 !important;letter-spacing:-.01em !important;
	margin:1rem 0 .6rem !important}

/*
 * THE 100 PIXELS UNDER THE CONTENT, ON THIS PAGE ONLY.
 *
 * The theme ends every page's content with 100px of padding, which is right where a footer follows and
 * wrong here: what follows on a face page is the enquiry band, and the two together read as the page
 * having finished and something unrelated starting. Measured before: 136px of nothing between the last
 * thing a visitor was reading and the form asking them to act on it.
 *
 * Scoped to the single face page, so every other page keeps the theme's own rhythm.
 */
body.single-cpt_services .page_content_wrap{ padding-bottom:40px }

/* ======================================================================== */

/*
 * THE LAST THREE CONTRAST FAILURES ON THE SITE. Measured 7 September 2026, mobile.
 *
 *   .wpcf7-submit          #ffffff on #e45927   3.64 : 1   bold 12.9px, so AA wants 4.5
 *   .hills-company-field   #888a8d on #ffffff   3.46 : 1   the theme's input text colour
 *
 * The orange becomes #1F49E3, which is the same decision a11y.php took for every other piece of text on
 * orange: the brand colour with seven per cent of its lightness taken, measuring 4.58 : 1. The grey becomes
 * #6e747b, which is HILLS_A11Y_MUTED_TEXT, the same grey at 4.6 : 1. Neither is a new colour and neither is
 * visibly different; both are the difference between passing and failing.
 *
 * The submit button's background is set here rather than by changing --f-accent, because that variable is
 * also a border under a link, where 3.65 : 1 is decoration and passes on its own terms.
 */
/*
 * The button is transparent and the orange is a span the theme's JavaScript injects behind it.
 *
 * Two selectors failed before this one, and the reason is worth keeping: the theme sets
 * "background: transparent !important" on .wpcf7-submit itself and paints the colour on a sibling,
 * <span class="submit-style-in">, which is not in the served HTML at all. So every rule aimed at the input
 * was correct, applied, and invisible. The element carrying the failing colour was one the markup does not
 * mention.
 *
 * !important because this stylesheet loads before the theme's, so an equal specificity rule loses on order.
 */
.hills-f .wpcf7-submit,
.wpcf7 .wpcf7-submit-style .submit-style-in,
.wpcf7-submit-style .submit-style-in{
	background:#1F49E3 !important;
}

.hills-f .wpcf7-submit:hover,
.hills-f .wpcf7-submit:focus-visible,
.wpcf7-submit-style:hover .submit-style-in{
	background:var(--f-navy,#192A6B) !important;
}

/*
 * POSITION THE SKIN SPAN SO IT ACTUALLY COVERS THE BUTTON. 7 October 2026 (Shahin: "زر Send your message
 * الاستايل مضروب"). The theme forces the input transparent and paints the colour on the submit-style-in
 * span, but nothing sizes that span, so it renders 0x0 and the button looks empty. Rather than fight the
 * theme's "background: transparent !important" on the input (it wins on specificity), make the blue span
 * fill the button behind the transparent input, which is what the theme's own design intends.
 */
.wpcf7-submit-style{position:relative;display:inline-block}
/* !important on the radius: the theme sets the skin square at equal specificity and loads after us, so the
   blue fill had square corners on every page while the (transparent) input was rounded. Shahin spotted it on
   /old-dubai/ ("لازم radius، مش مفروض كلهم نفس class؟"); it was site-wide. Match the button's 15px. */
.wpcf7-submit-style .submit-style-in{position:absolute;inset:0;border-radius:15px !important;pointer-events:none;z-index:0}
.wpcf7-submit-style .wpcf7-submit{position:relative;z-index:1}
/*
 * ONE RADIUS RHYTHM INSIDE THE GET IN TOUCH BOX. Shahin 8 Oct ("الصناديق الجوا مش متبعين نفس الإيقاع تاع
 * الحواف"): the panels sit at 16px, the fields at 12px, but the submit stood alone at 15px. Inside the
 * enquiry form the submit now takes the same radius as the fields, so the box reads as 16 outside / 12 inside,
 * with nothing breaking the step. */
.hills-net-ask__form .wpcf7-submit-style .submit-style-in,
.hills-net-ask__form .wpcf7-submit-style .wpcf7-submit{border-radius:var(--net-radius,12px) !important}

/*
 * REMOVE THE THEME'S SEND GLYPH ON THE SUBMIT. Shahin, 8 Oct 2026 ("الأيقونة خابطة مع الكلمة ... شيل الأيقونة").
 * The theme paints a 16x16 icon through .submit-style-in::before, absolutely placed at left:36px behind the
 * transparent input, so it sat jammed against the label and off its baseline. He asked to drop it rather than
 * keep chasing its position. The button keeps its blue fill and centred label; only the glyph goes.
 */
.wpcf7-submit-style .submit-style-in::before{content:none !important;display:none !important;background:none !important}

/*
 * SUBMIT LABEL CENTRED, ICON NOT CLASHING. Shahin, 8 Oct 2026 ("زر الإرسال ضارب مع الأيقونة"). The theme pads
 * the submit 60px on the left for an icon, which pushed "Send your message" far to the right and left the
 * icon stranded. Balance the padding and centre the content on every form so the icon and the label sit on
 * one line, evenly.
 */
.wpcf7-form .wpcf7-submit,
.wpcf7 .wpcf7-submit-style .wpcf7-submit,
.hills-f .wpcf7-submit,
.wpcf7-submit-style .wpcf7-submit,
/* The theme's own rule is .wpcf7 .wpcf7-submit-style .wpcf7-submit (three classes) with the icon padding
   (padding:16px 35px 16px 60px !important), it loads AFTER this file, so at equal specificity it won and the
   careers submit label sat low and pushed right (Shahin, 16 Oct: "زر صفحة الوظايف ... الاستايل ضارب"). Adding
   the element qualifier input. makes this 0,3,1 so it beats the theme's 0,3,0 and the label centres again. */
.wpcf7 .wpcf7-submit-style input.wpcf7-submit,
.hills-f input.wpcf7-submit{
	padding-left:1.7rem !important;
	padding-right:1.7rem !important;
	/* Vertical centring: the theme's top padding is larger than the bottom, which (once the glyph was removed)
	   left a gap above the label. Zero the vertical padding and centre the text with line-height = height. */
	padding-top:0 !important;
	padding-bottom:0 !important;
	height:52px !important;
	line-height:52px !important;
	text-align:center !important;
	width:auto !important;
	max-width:100%;
	white-space:nowrap;
	text-overflow:clip !important;
}

/* Our own field, which sits as a direct child of the form rather than inside .hills-f. */
.wpcf7-form .hills-company-field input,
.wpcf7-form .hills-company-field input.wpcf7-form-control{
	color:#12263a;
}

.wpcf7-form .hills-company-field input::placeholder{
	color:#6e747b;
	opacity:1;
}

/* ============================================================================
 * THE CONTACT DETAILS BLOCK ON /contact/
 *
 * Shahin, 10 September: "حتى طرح الداتا مزعج بصريا". He is right, and the cause is not our CSS. The block
 * is three trx_sc_icons widgets, and the same kind of information was typed into two different slots of
 * the same widget: the address and the two email addresses sit in the item's description, where the theme
 * prints them orange at 15 px and 400, while the telephone number was typed into the item's "more link"
 * slot, where the theme prints it navy at 18 px and 700. So one line of an otherwise identical list
 * shouts. Under it, four more lines: two people's names, their job titles and their addresses, all at the
 * same weight in the same column, so nothing says which address belongs to which person.
 *
 * WHY THIS IS CSS AND NOT AN ELEMENTOR EDIT
 *
 * The page is his. Reordering or re-slotting the widgets means opening his document and moving his blocks,
 * and the standing rule on his pages is reorder, never redesign. Every rule below is a presentation
 * change on markup that is left exactly as he built it, so undoing the whole thing is deleting this block.
 *
 * WHAT IT DOES
 *
 *   1. One treatment for every value. Navy text at one size and one weight, with the icon carrying the
 *      orange. The accent then marks what kind of detail it is rather than competing with the words.
 *   2. The two people become cards. The first item in those widgets is the name and the second is the job
 *      title, which is true of both and is why nth-child is safe here: the widgets have a fixed shape.
 *   3. A regular vertical rhythm instead of the theme's mixture of negative margins and spacers.
 *
 * The widget ids are Elementor's own and they are stable: they change only if the widget is deleted and
 * re-added. If that ever happens, these three selectors stop matching and the block returns to the theme's
 * appearance. Nothing breaks, it just looks like it did before.
 * ========================================================================= */

.elementor-1453 .sc_icons{--c-navy:#192A6B;--c-accent:#1F49E3;--c-mute:#5b6b7c;--c-line:#e3e8ee}

/* One colour, one size, one weight, for the description slot and the more-link slot alike. */
.elementor-1453 .sc_icons .sc_icons_item_description,
.elementor-1453 .sc_icons .sc_icons_item_description a,
.elementor-1453 .sc_icons .sc_icons_item_more_link,
.elementor-1453 .sc_icons .sc_icons_item_more_link .link_text{
	color:var(--c-navy);font-size:15px;line-height:1.5;font-weight:500;text-decoration:none}

.elementor-1453 .sc_icons .sc_icons_item_description a:hover,
.elementor-1453 .sc_icons .sc_icons_item_more_link:hover .link_text{
	color:var(--c-accent);text-decoration:underline}

/* The arrow the theme appends to a more link belongs to a button, not to a telephone number. */
.elementor-1453 .sc_icons .sc_icons_item_more_link .link_icon{display:none}

/* The icon carries the accent, and every row aligns on the same left edge. */
.elementor-1453 .sc_icons .sc_icons_icon,
.elementor-1453 .sc_icons .sc_icons_icon span{color:var(--c-accent);font-size:17px}

.elementor-1453 .sc_icons .sc_icons_item{
	display:flex;align-items:baseline;gap:.6rem;margin:0 0 .55rem}
.elementor-1453 .sc_icons .sc_icons_item:last-child{margin-bottom:0}
.elementor-1453 .sc_icons .sc_icons_icon{flex:0 0 20px;text-align:left}

/*
 * The negative margin the theme puts under a linked description. It exists to pull an underline up to the
 * text above it and it is why the rows in this block sit at four different distances from each other.
 */
.elementor-1453 .sc_icons .sc_icons_item_description a{margin-bottom:0}

/* THE TWO PEOPLE. Widget ids, in the order Shahin placed them: Sami, then Hiba. */
.elementor-1453 .elementor-element-9be7580 .sc_icons,
.elementor-1453 .elementor-element-1d17ab7 .sc_icons{
	border:1px solid var(--c-line);border-left:3px solid var(--c-accent);
	border-radius: var(--hills-r-btn);padding:1rem 1.1rem;background:#fbfcfd}

/* The name is always the first item and the job title is always the second. */
.elementor-1453 .elementor-element-9be7580 .sc_icons_item:first-child .sc_icons_item_description,
.elementor-1453 .elementor-element-1d17ab7 .sc_icons_item:first-child .sc_icons_item_description{
	color:var(--c-navy);font-size:17px;font-weight:700;line-height:1.3}

.elementor-1453 .elementor-element-9be7580 .sc_icons_item:nth-child(2) .sc_icons_item_description,
.elementor-1453 .elementor-element-1d17ab7 .sc_icons_item:nth-child(2) .sc_icons_item_description{
	color:var(--c-mute);font-size:11px;font-weight:600;letter-spacing:.09em;text-transform:uppercase}

/* Name and title are one unit, so the gap goes after the title and not between them. */
.elementor-1453 .elementor-element-9be7580 .sc_icons_item:first-child,
.elementor-1453 .elementor-element-1d17ab7 .sc_icons_item:first-child{margin-bottom:.1rem}
.elementor-1453 .elementor-element-9be7580 .sc_icons_item:nth-child(2),
.elementor-1453 .elementor-element-1d17ab7 .sc_icons_item:nth-child(2){margin-bottom:.7rem}

/* Neither name nor title has an icon, so their text starts at the card's edge rather than indented. */
.elementor-1453 .elementor-element-9be7580 .sc_icons_item:first-child .sc_icons_icon,
.elementor-1453 .elementor-element-9be7580 .sc_icons_item:nth-child(2) .sc_icons_icon,
.elementor-1453 .elementor-element-1d17ab7 .sc_icons_item:first-child .sc_icons_icon,
.elementor-1453 .elementor-element-1d17ab7 .sc_icons_item:nth-child(2) .sc_icons_icon{display:none}

/*
 * The cards stay stacked at every width. Two of them side by side was tried and measured: the block sits
 * in a half width column beside the form, so each card would have been about 130 px wide, and Elementor
 * lays its widgets out as full width flex items in any case, so the rule did nothing but sit there looking
 * like it did something. One column, one under the other, is the right answer in a column this narrow.
 */

/* The office block sits above the cards and reads as one group, so it gets a little air under it. */
.elementor-1453 .elementor-element-3a2354c .sc_icons{margin-bottom:.35rem}

/*
 * THE FULL WIDTH ROWS WERE NOT FULL WIDTH. 14 September 2026.
 *
 * Measured on the Careers page: the form is a two column grid of 603px, a row marked full span reads
 * `grid-column: 1 / -1` correctly, and then stops at 663px. The cap is the theme's readable measure on a
 * paragraph, `max-width` around 41rem, which is right for running text and wrong for a form row that has
 * already been told how wide to be by the grid.
 *
 * It never showed on the contact page because that column is narrower than the cap. It showed the moment
 * a form went into a full width band.
 *
 * Scoped to our own rows inside a Contact Form 7 form, so nothing else on the site loses its measure.
 *
 * It is !important because the first attempt, `.wpcf7-form > .hills-f{max-width:none}`, lost. Our
 * stylesheet is enqueued before the theme's, so at equal weight the theme wins every time. Measured
 * before and after rather than assumed: the row stayed at 663px until this rule.
 */
form.wpcf7-form > p.hills-f,
form.wpcf7-form > p.hills-f--half,
form.wpcf7-form > p.hills-f--submit{max-width:none!important}
