Changes for page Public Web Site
Last modified by Alex Cotiugă on 2026/05/04 06:16
From version 3.2
edited by Alex Cotiugă
on 2025/11/24 07:19
on 2025/11/24 07:19
Change comment:
There is no comment for this version
To version 4.8
edited by Alex Cotiugă
on 2026/05/01 13:03
on 2026/05/01 13:03
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,147 +1,225 @@ 1 1 {{velocity}} 2 -#set ($discard = $xwiki.ssx.use('PublicWebSite.WebHome')) 3 -{{html clean="false"}} 4 - ## HERO 5 - <section class="hero hero-centered" aria-labelledby="hero-title"> 6 - <div class="container hero-inner"> 7 - <h1 id="hero-title">Professional XWiki solutions, from setup to long-term stability</h1> 8 - <p class="lead">Need your XWiki upgraded, secured, or improved? Let’s make it happen.</p> 9 - <div class="hero-cta"> 10 - <a class="btn btn-primary" href="#contact" aria-label="Schedule a call with Agnease"> 11 - Request a consultation 12 - </a> 2 +#macro (displayPublicContent) 3 + #set ($discard = $xwiki.ssx.use('PublicWebSite.WebHome')) 4 + {{html clean="false"}} 5 + ## HERO 6 + <section class="hero hero-centered" aria-labelledby="hero-title"> 7 + <div class="container hero-inner"> 8 + <h1 id="hero-title">Keep Your XWiki Platform Secure, Stable and Up-to-Date</h1> 9 + <p class="lead">Helping organizations safely upgrade and maintain their XWiki environments.</p> 10 + <ul class="benefits"> 11 + <li><a href="$xwiki.getURL('services.xwiki-upgrades')">Smooth upgrades</a></li> 12 + <li>Reliable support plans</li> 13 + <li>Custom integrations</li> 14 + <li>Secure, optimized platforms</li> 15 + </ul> 16 + <div class="hero-cta"> 17 + <a href="mailto:alex@agnease.com">Contact Agnease</a> 18 + #*<a class="btn btn-primary" href="#contact" aria-label="Request a consultation" data-toggle="modal" data-target="#requestConsultation"> 19 + Request a consultation 20 + </a> 21 + #requestConsultationModal()*# 22 + ##data-toggle="modal" data-target="#requestConsultationModal" 23 + </div> 13 13 </div> 14 - <ul class="benefits"> 15 - <li>Smooth upgrades</li> 16 - <li>Reliable support plans</li> 17 - <li>Custom integrations</li> 18 - <li>Secure, optimized platforms</li> 19 - </ul> 20 - </div> 21 - </section> 22 - ## WHY CHOOSE 23 - #set ($whySectionData = [{ 24 - 'title': 'Stability & security', 25 - 'icon': 'shield', 26 - 'content': 'Proven upgrade steps, rollback safety, and proactive hardening keep your wiki reliable.' 27 - },{ 28 - 'title': 'Predictable delivery', 29 - 'icon': 'check-square-o', 30 - 'content': 'Clear scope, defined steps, and documented results to avoid surprises.' 31 - },{ 32 - 'title': 'Clean integrations', 33 - 'icon': 'link', 34 - 'content': 'Maintainable SSO, API, and system connections tailored to your environment.' 35 - },{ 36 - 'title': 'Long-term support', 37 - 'icon': 'life-ring', 38 - 'content': 'Guaranteed response times, regular checks, and fast assistance when needed.' 39 - }]) 40 - <section aria-labelledby="why-title"> 41 - <div class="container"> 42 - <h2 id="why-title">Why choose Agnease</h2> 43 - <p class="lead">10+ years of XWiki expertise with structured delivery and lasting collaboration</p> 44 - <div class="widgets"> 45 - #foreach ($entry in $whySectionData) 46 - <article class="widget"> 47 - <div class="icon" aria-hidden="true"> 48 - <i class="fa fa-$entry.icon"></i> 49 - <h4>$entry.title</h4> 50 - </div> 51 - <p>$entry.content</p> 52 - </article> 53 - #end 25 + </section> 26 + ## WHY CHOOSE 27 + #set ($whySectionData = [{ 28 + 'title': 'Stability & security', 29 + 'icon': 'shield', 30 + 'content': 'Proven upgrade steps, rollback safety, and proactive hardening keep your wiki reliable.' 31 + },{ 32 + 'title': 'Predictable delivery', 33 + 'icon': 'check-square-o', 34 + 'content': 'Clear scope, defined steps, and documented results to avoid surprises.' 35 + },{ 36 + 'title': 'Clean integrations', 37 + 'icon': 'link', 38 + 'content': 'Maintainable SSO, API, and system connections tailored to your environment.' 39 + },{ 40 + 'title': 'Long-term support', 41 + 'icon': 'life-ring', 42 + 'content': 'Guaranteed response times, regular checks, and fast assistance when needed.' 43 + }]) 44 + <section aria-labelledby="why-title"> 45 + <div class="container"> 46 + <h2 id="why-title">Why choose Agnease</h2> 47 + <p class="lead">10+ years of XWiki expertise with structured delivery and lasting collaboration</p> 48 + <div class="widgets"> 49 + #foreach ($entry in $whySectionData) 50 + <article class="widget"> 51 + <div class="icon" aria-hidden="true"> 52 + <i class="fa fa-$entry.icon"></i> 53 + <h4>$entry.title</h4> 54 + </div> 55 + <p>$entry.content</p> 56 + </article> 57 + #end 58 + </div> 54 54 </div> 55 - </ div>56 - </section>57 - # #SERVICES58 - #set($servicesSectionData= [{59 - ' title': 'Upgrades',60 - 'icon': 'refresh', 61 - 'content': 'Stay current with the latest XWiki LTS and keep your instance reliable.', 62 - 'items': [ 63 - 'Audit setup, extensions, and configurations', 64 - 'Test upgrades with backups and validation', 65 - 'Safe production rollout with minimal downtime' 66 - ] 67 - },{ 68 - 'title': 'Maintenance, Support & Recovery', 69 - 'icon': 'stethoscope', 70 - 'content': 'Ensure long-term stability and quick response when issues appear.', 71 - 'items': [ 72 - 'Monitoring and performance checks', 73 - 'Security patching, log analysis, triage', 74 - 'Issue recovery, data repair, hardening' 75 - ] 76 - },{ 77 - 'title': 'Development & Integrations', 78 - 'icon': 'cogs', 79 - 'content': 'Extend and connect XWiki to fit your workflow and systems.', 80 - 'items': [ 81 - 'Custom apps, macros, automation', 82 - 'SSO, REST APIs, LDAP, CRM links', 83 - 'Maintainable extensions for long-term use' 84 - ] 85 - },{ 86 - 'title': 'Hosting & Deployment', 87 - 'icon': 'cloud', 88 - 'content': 'Cloud-ready environments designed for reliability and performance.', 89 - 'items': [ 90 - 'Containerized deployment and TLS', 91 - 'Backups, restore strategy, observability', 92 - 'Optimization and load tuning' 93 - ] 94 - },{ 95 - 'title': 'Migrations to XWiki', 96 - 'icon': 'exchange', 97 - 'content': 'Move from Confluence, SharePoint, or MediaWiki to XWiki with full data integrity and structure.', 98 - 'items': [ 99 - 'Preserve hierarchy, attachments, and permissions', 100 - 'Convert macros, categories, and metadata for XWiki', 101 - 'Redirect old URLs and maintain SEO consistency' 102 - ] 103 - }]) 104 - <section class="services" aria-labelledby="services-title"> 105 - <div class="container"> 106 - <h2 id="services-title">Services</h2> 107 - <p class="lead"> 108 - All the XWiki services you need, delivered with precision and care 109 - </p> 60 + </section> 61 + ## SERVICES 62 + #set ($servicesSectionData = [{ 63 + 'title': 'Upgrades', 64 + 'reference': 'services.xwiki-upgrades', 65 + 'icon': 'refresh', 66 + 'content': 'Stay current with the latest XWiki LTS and keep your instance reliable.', 67 + 'items': [ 68 + 'Audit setup, extensions, and configurations', 69 + 'Test upgrades with backups and validation', 70 + 'Safe production rollout with minimal downtime' 71 + ] 72 + },{ 73 + 'title': 'Maintenance, Support & Recovery', 74 + 'icon': 'stethoscope', 75 + 'content': 'Ensure long-term stability and quick response when issues appear.', 76 + 'items': [ 77 + 'Monitoring and performance checks', 78 + 'Security patching, log analysis, triage', 79 + 'Issue recovery, data repair, hardening' 80 + ] 81 + },{ 82 + 'title': 'Development & Integrations', 83 + 'icon': 'cogs', 84 + 'content': 'Extend and connect XWiki to fit your workflow and systems.', 85 + 'items': [ 86 + 'Custom apps, macros, automation', 87 + 'SSO, REST APIs, LDAP, CRM links', 88 + 'Maintainable extensions for long-term use' 89 + ] 90 + },{ 91 + 'title': 'Hosting & Deployment', 92 + 'icon': 'cloud', 93 + 'content': 'Cloud-ready environments designed for reliability and performance.', 94 + 'items': [ 95 + 'Containerized deployment and TLS', 96 + 'Backups, restore strategy, observability', 97 + 'Optimization and load tuning' 98 + ] 99 + },{ 100 + 'title': 'Migrations to XWiki', 101 + 'icon': 'exchange', 102 + 'content': 'Move from Confluence, SharePoint, or MediaWiki to XWiki with full data integrity and structure.', 103 + 'items': [ 104 + 'Preserve hierarchy, attachments, and permissions', 105 + 'Convert macros, categories, and metadata for XWiki', 106 + 'Redirect old URLs and maintain SEO consistency' 107 + ] 108 + }]) 109 + <section class="services" aria-labelledby="services-title"> 110 + <div class="container"> 111 + <h2 id="services-title">Services</h2> 112 + <p class="lead"> 113 + All the XWiki services you need, delivered with precision and care 114 + </p> 110 110 111 - #set ($servicesSize = $servicesSectionData.size()) 112 - <div class="services-grid"> 113 - #foreach ($entry in $servicesSectionData) 114 - #set ($classes = "service") 115 - ## If this is the last item AND the total number is odd, center it 116 - #if ($foreach.count == $servicesSize && ($servicesSize % 2) == 1) 117 - #set ($classes = "service service-center") 116 + #set ($servicesSize = $servicesSectionData.size()) 117 + <div class="services-grid"> 118 + #foreach ($entry in $servicesSectionData) 119 + #set ($classes = "service") 120 + ## If this is the last item AND the total number is odd, center it 121 + #if ($foreach.count == $servicesSize && ($servicesSize % 2) == 1) 122 + #set ($classes = "service service-center") 123 + #end 124 + 125 + <article class="$classes"> 126 + <div class="service-icon"> 127 + <i class="fa fa-$entry.icon" aria-hidden="true"></i> 128 + </div> 129 + <div class="service-body"> 130 + <h4> 131 + #if ("$!entry.reference" != '') 132 + <a href="$xwiki.getURL($entry.reference)">$entry.title</a> 133 + #else 134 + $entry.title 135 + #end 136 + </h4> 137 + <p>$entry.content</p> 138 + <ul> 139 + #foreach ($item in $entry.items) 140 + <li>$item</li> 141 + #end 142 + </ul> 143 + </div> 144 + </article> 118 118 #end 146 + </div> 147 + </div> 148 + </section> 149 + ## CTA INLINE 150 + <section id="contact" class="cta-section"> 151 + <div class="container"> 152 + <p class="text-center contact-inline"> 153 + Need help with your XWiki? <a href="mailto:alex@agnease.com">Contact Agnease</a>. 154 + </p> 155 + </div> 156 + </section> 157 + {{/html}} 158 +#end 119 119 120 - <article class="$classes"> 121 - <div class="service-icon"> 122 - <i class="fa fa-$entry.icon" aria-hidden="true"></i> 123 - </div> 124 - <div class="service-body"> 125 - <h4>$entry.title</h4> 126 - <p>$entry.content</p> 127 - <ul> 128 - #foreach ($item in $entry.items) 129 - <li>$item</li> 130 - #end 131 - </ul> 132 - </div> 133 - </article> 134 - #end 160 +#macro(requestConsultationModal) 161 + <div class="modal fade" id="requestConsultation" tabindex="-1" role="dialog"> 162 + <div class="modal-dialog"> 163 + <div class="modal-content"> 164 + <div class="modal-header"> 165 + <button type="button" class="close" data-dismiss="modal">×</button> 166 + <h4 class="modal-title">Request a consultation</h4> 167 + </div> 168 + <div class="modal-body"> 169 + <div> 170 + ##Need help with your XWiki? <a href="mailto:alex@agnease.com">Contact Agnease</a> 171 + #displayFormFromSheetCode() 172 + </div> 173 + </div> 174 + <div class="modal-footer"> 175 + ##<input id="continueCategorySelection" type="button" class="btn btn-default" data-dismiss="modal" 176 + ## value="$escapetool.xml($services.localization.render('yesno_1'))"> 177 + </div> 135 135 </div> 136 136 </div> 137 - </section> 138 - ## CTA INLINE 139 - <section id="contact" class="cta-section"> 140 - <div class="container"> 141 - <p class="text-center contact-inline"> 142 - Need help with your XWiki? <a href="mailto:alex@agnease.com">Contact Agnease</a>. 143 - </p> 144 - </div> 145 - </section> 146 -{{/html}} 180 + </div> 181 +#end 182 + 183 +#macro (stripHTMLMacro $displayOutput) 184 + $stringtool.removeEnd($stringtool.removeStart($displayOutput, '{{html clean="false" wiki="false"}}'), '{{/html}}').replace('Agnease.Code.Lead.LeadClass_0_', 'acl-') 185 +#end 186 + 187 +#macro (displayFormFromSheetCode) 188 + #set ($editing = true) 189 + ## The object to display. 190 + #set ($xobject = $doc.newObject('Agnease.Code.Lead.LeadClass')) 191 + ## The class that describes the object properties. 192 + #set ($xclass = $xwiki.getClass('Agnease.Code.Lead.LeadClass')) 193 + ## Make sure the following display* method calls use the right object. 194 + #set ($discard = $doc.use($xobject)) 195 + ## Using the xform vertical form layout. 196 + <div class="xform"> 197 + <dl> 198 + #foreach ($property in $xclass.properties) 199 + #if ($property.name != 'status') 200 + <dt #if (!$editing) 201 + class="editableProperty" 202 + #set ($xobjectPropertyReference = $xobject.getPropertyReference($property.name)) 203 + data-property="$escapetool.xml($services.model.serialize($xobjectPropertyReference))" 204 + data-property-type="object"#end> 205 + ## This must match the id generated by the $doc.display() method below. 206 + #set ($propertyId = "acl-$property.name") 207 + <label#if ($editing) for="$escapetool.xml($propertyId)"#end> 208 + $escapetool.xml($property.translatedPrettyName) 209 + </label> 210 + ## Support for specifying a translation key as hint in the property definition. 211 + <span class="xHint">$!escapetool.xml($services.localization.render($property.hint))</span> 212 + </dt> 213 + #set ($displayOutput = $doc.display($property.name, 'edit')) 214 + <dd>#stripHTMLMacro($displayOutput)</dd> 215 + #end 216 + #end 217 + #if (!$xclass.properties || $xclass.properties.size() == 0) 218 + ## Keep the empty definition term in order to have valid HTML. 219 + <dt></dt> 220 + <dd>$escapetool.xml($services.localization.render('xclass.defaultObjectSheet.noProperties'))</dd> 221 + #end 222 + </dl> 223 + </div> 224 +#end 147 147 {{/velocity}}
- XWiki.StyleSheetExtension[0]
-
- code
-
... ... @@ -1,9 +1,11 @@ 1 -/* ========== Agnease Landing (no Bootstrap grid) ========== */ 1 +/* ========== Agnease Public Website Theme ========== */ 2 + 2 2 @brand: #00937D; 3 3 @brand-strong: #007B6A; 4 4 @text: #2D3A34; 5 5 @muted: #5B6B64; 6 6 @line: #E4ECE9; 8 +@soft: #F6FBF9; 7 7 @radius: 16px; 8 8 @shadow-sm: 0 6px 20px rgba(0,0,0,.06); 9 9 @shadow: 0 12px 36px rgba(0,0,0,.08); ... ... @@ -13,30 +13,28 @@ 13 13 padding: 0; 14 14 } 15 15 16 -a { 17 - color: @brand; 18 - text-decoration: none; 19 - &:hover { 20 - color: @brand-strong; 21 - text-decoration: underline; 22 - } 23 -} 24 - 25 -img { 26 - max-width: 100%; 27 - height: auto; 28 - display: block; 29 -} 30 - 31 31 .container { 32 32 max-width: @maxw; 20 + margin-left: auto; 21 + margin-right: auto; 33 33 } 34 34 24 +.text-center { 25 + text-align: center; 26 +} 27 + 35 35 .lead { 36 36 color: @muted; 37 37 text-align: center; 31 + line-height: 1.5; 38 38 } 39 -h2 { 33 + 34 +.page-lead { 35 + max-width: 760px; 36 + margin: 0 auto; 37 + color: @muted; 38 + font-size: 18px; 39 + line-height: 1.5; 40 40 text-align: center; 41 41 } 42 42 ... ... @@ -49,99 +49,145 @@ 49 49 } 50 50 } 51 51 52 -/* Buttons */ 53 -.btn { 54 - display: inline-flex; 55 - align-items: center; 56 - justify-content: center; 57 - padding: .85rem 1.1rem; 58 - border-radius: 12px; 59 - border: 2px solid transparent; 60 - font-weight: 650; 61 - letter-spacing: .2px; 62 - cursor: pointer; 63 - box-shadow: @shadow-sm; 52 +h1, h2, h3, h4 { 53 + color: @text; 54 +} 64 64 65 - &:focus-visible { 66 - outline: 3px solid @brand; 67 - outline-offset: 2px; 68 - } 56 +h2 { 57 + text-align: center; 58 +} 69 69 70 - &-primary { 71 - background: @brand; 60 +/* ===== Buttons / links ===== */ 61 + 62 +.btn-main, 63 +.btn-secondary { 64 + display: inline-block; 65 + border-radius: 8px; 66 + padding: 9px 14px; 67 + font-weight: 700; 68 + text-decoration: none; 69 + line-height: 1.2; 70 +} 71 + 72 +.btn-main { 73 + color: #fff; 74 + background: @brand; 75 + 76 + &:hover, 77 + &:focus { 72 72 color: #fff; 73 - &:hover, 74 - &:focus { 75 - background: @brand-strong; 76 - color: #fff; 77 - } 79 + background: @brand-strong; 80 + text-decoration: none; 78 78 } 79 79 } 80 80 81 -/* ===== HERO ===== */ 82 -.hero { 83 - overflow: hidden; 84 - background-repeat: no-repeat; 85 - background-attachment: scroll; 84 +.btn-secondary { 85 + color: @brand; 86 + background: fade(@brand, 8%); 87 + border: 1px solid fade(@brand, 20%); 86 86 87 - &.hero-centered { 88 - text-align: center; 89 - background: 90 - radial-gradient(50rem 18rem at 50% -10%, #E7FFF8 0%, transparent 60%), 91 - radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 92 - display: flex; 93 - align-items: center; 94 - justify-content: center; 95 - min-height: 350px; 89 + &:hover, 90 + &:focus { 91 + color: @brand-strong; 92 + background: fade(@brand, 12%); 93 + text-decoration: none; 96 96 } 95 +} 97 97 98 - .hero-inner {99 - max-width:850px;100 - margin: 0auto;101 - display:flex;102 - flex-direction: column;103 - align-items:center;104 - }97 +.cta-row { 98 + display: flex; 99 + gap: 10px; 100 + flex-wrap: wrap; 101 + justify-content: center; 102 + margin-top: 16px; 103 +} 105 105 106 - .hero-cta { 107 - display: flex; 108 - gap: 0.8rem; 109 - flex-wrap: wrap; 110 - justify-content: center; 111 - margin-top: 0.3rem; 112 - } 105 +/* ===== Landing page hero ===== */ 113 113 114 - .benefits { 115 - display: flex; 116 - flex-wrap: wrap; 117 - justify-content: center; 118 - list-style: none; 119 - padding: 0; 120 - margin: 0.8rem 0 0; 121 - color: @muted; 122 - font-size: 14px; 107 +.landing-hero { 108 + text-align: center; 109 + min-height: 340px; 110 + display: flex; 111 + align-items: center; 112 + justify-content: center; 113 + background: 114 + radial-gradient(50rem 18rem at 50% -10%, #E7FFF8 0%, transparent 60%), 115 + radial-gradient(50rem 18rem at 50% 0%, #E8F6F3 0%, transparent 60%); 116 +} 123 123 124 - li+ li::before {125 - content:"•";126 - margin: 05px;127 - }118 +.landing-hero-inner { 119 + max-width: 860px; 120 + margin: 0 auto; 121 +} 128 128 129 - @media (max-width: 640px) { 130 - li + li::before { 131 - content: none; 132 - } 133 - li:nth-child(1)::after, 134 - li:nth-child(3)::after { 135 - content: "•"; 136 - margin: 0 5px; 137 - } 138 - } 139 - } 123 +.landing-hero h1 { 124 + margin: 0 0 10px; 125 + font-size: 36px; 126 + line-height: 1.18; 140 140 } 141 141 142 -/* ===== WHY CHOOSE (cards) ===== */ 129 +.landing-hero .lead { 130 + margin: 0 auto 12px; 131 + max-width: 760px; 132 + font-size: 18px; 133 +} 134 + 135 +/* ===== Compact page header for section pages ===== */ 136 + 137 +.page-header-compact { 138 + padding: 34px 0 28px; 139 + text-align: center; 140 + border-top: none; 141 + background: 142 + radial-gradient(42rem 12rem at 50% -20%, #E7FFF8 0%, transparent 65%); 143 +} 144 + 145 +.page-header-compact .container { 146 + max-width: 850px; 147 +} 148 + 149 +.page-eyebrow { 150 + margin: 0 0 8px; 151 + color: @brand; 152 + font-size: 12px; 153 + font-weight: 800; 154 + text-transform: uppercase; 155 + letter-spacing: .08em; 156 +} 157 + 158 +.page-header-compact h1 { 159 + margin: 0 0 10px; 160 + font-size: 34px; 161 + line-height: 1.15; 162 +} 163 + 164 +/* ===== Benefits / chips ===== */ 165 + 166 +.benefits, 167 +.inline-benefits { 168 + display: flex; 169 + flex-wrap: wrap; 170 + justify-content: center; 171 + gap: 8px; 172 + list-style: none; 173 + padding: 0; 174 + margin: 12px 0 0; 175 +} 176 + 177 +.benefits li, 178 +.inline-benefits li { 179 + color: @muted; 180 + font-size: 13px; 181 + background: fade(@brand, 8%); 182 + border: 1px solid fade(@brand, 18%); 183 + border-radius: 999px; 184 + padding: 4px 10px; 185 +} 186 + 187 +/* ===== Cards ===== */ 188 + 143 143 .widgets { 144 - margin-top: 1 2px;190 + margin-top: 16px; 145 145 display: grid; 146 146 grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); 147 147 grid-gap: 16px; ... ... @@ -170,8 +170,16 @@ 170 170 padding-bottom: 6px; 171 171 margin-bottom: 8px; 172 172 border-bottom: 1px solid fade(@line, 60%); 173 - i { color: @brand; } 174 - h4 { margin: 0; line-height: 1.2; color: @text; } 219 + 220 + i { 221 + color: @brand; 222 + } 223 + 224 + h4 { 225 + margin: 0; 226 + line-height: 1.2; 227 + color: @text; 228 + } 175 175 } 176 176 177 177 p { ... ... @@ -179,101 +179,278 @@ 179 179 color: @muted; 180 180 line-height: 1.45; 181 181 } 236 + 237 + .card-link { 238 + margin-top: 12px; 239 + 240 + a { 241 + color: @brand; 242 + font-weight: 700; 243 + text-decoration: none; 244 + 245 + &:hover { 246 + color: @brand-strong; 247 + text-decoration: underline; 248 + } 249 + } 250 + } 182 182 } 183 183 184 -/* ===== SERVICES ===== */ 185 -.services { 186 - .services-grid { 187 - margin-top: 20px; 188 - display: flex; 189 - flex-wrap: wrap; 190 - gap: 24px; 253 +/* ===== Service / listing rows ===== */ 191 191 192 - /* center the whole block under the heading */ 193 - max-width: 960px; 194 - margin-left: auto; 195 - margin-right: auto; 196 - justify-content: center; 255 +.services-grid { 256 + margin-top: 20px; 257 + display: flex; 258 + flex-wrap: wrap; 259 + gap: 24px; 260 + max-width: 960px; 261 + margin-left: auto; 262 + margin-right: auto; 263 + justify-content: center; 264 +} 265 + 266 +.service { 267 + flex: 0 1 calc(50% - 12px); 268 + display: flex; 269 + align-items: flex-start; 270 + gap: 16px; 271 + margin-bottom: 8px; 272 +} 273 + 274 +.service-icon { 275 + width: 42px; 276 + height: 42px; 277 + border-radius: 50%; 278 + display: flex; 279 + align-items: center; 280 + justify-content: center; 281 + color: @brand; 282 + background: fade(@brand, 10%); 283 + flex-shrink: 0; 284 + margin-top: 3px; 285 +} 286 + 287 +.service-body { 288 + h4 { 289 + margin: 0 0 4px; 290 + font-size: 1.125rem; 291 + font-weight: 800; 292 + 293 + a { 294 + color: @text; 295 + text-decoration: none; 296 + 297 + &:hover { 298 + color: @brand; 299 + text-decoration: underline; 300 + } 301 + } 197 197 } 198 198 199 - .service { 200 - flex: 0 1 calc(50% - 12px); 201 - display: flex; 202 - align-items: flex-start; 203 - gap: 16px; 204 - margin-bottom: 8px; 304 + p { 305 + margin: 0 0 6px; 306 + color: @text; 307 + line-height: 1.5; 308 + } 205 205 206 - .service-icon { 207 - width: 42px; 208 - height: 42px; 209 - border-radius: 50%; 210 - display: flex; 211 - align-items: center; 212 - justify-content: center; 213 - font-size: 18px; 310 + ul { 311 + margin: .45rem 0 0; 312 + padding-left: 1.1rem; 313 + color: @muted; 314 + font-size: 13px; 315 + } 316 + 317 + li { 318 + margin: .25rem 0; 319 + line-height: 1.45; 320 + } 321 + 322 + .service-link { 323 + margin-top: .45rem; 324 + font-size: 13px; 325 + 326 + a { 214 214 color: @brand; 215 - background: fade(@brand, 10%); 216 - flex-shrink: 0; 217 - margin-top: 3px; 218 - } 328 + font-weight: 700; 329 + text-decoration: none; 219 219 220 - .service-body { 221 - h4 { 222 - margin: 0 0 4px; 223 - font-size: 1.125rem; 224 - font-weight: 800; 331 + &:hover { 332 + color: @brand-strong; 333 + text-decoration: underline; 225 225 } 226 - p { 227 - margin: 0 0 6px; 228 - color: @text; 229 - line-height: 1.5; 230 - } 231 - ul { 232 - margin: .45rem 0 0; 233 - padding-left: 1.1rem; 234 - color: @muted; 235 - font-size: 13px; 236 - } 237 - li { 238 - margin: .25rem 0; 239 - line-height: 1.45; 240 - } 241 241 } 242 242 } 337 +} 243 243 244 - /* ==== Center last item on its own row while keeping 50% width ==== */ 245 - .service-center { 246 - /* same width as siblings */ 247 - flex: 0 1 calc(55% - 12px); 339 +/* ===== Split section ===== */ 248 248 249 - /* push to center */ 250 - margin-left: auto; 251 - margin-right: auto; 341 +.split-section { 342 + display: grid; 343 + grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); 344 + gap: 32px; 345 + align-items: start; 346 + max-width: 960px; 347 + margin: 0 auto; 348 +} 349 + 350 +.panel { 351 + background: #fff; 352 + border: 1px solid @line; 353 + border-radius: @radius; 354 + box-shadow: @shadow-sm; 355 + padding: 20px; 356 +} 357 + 358 +.panel h3 { 359 + margin-top: 0; 360 +} 361 + 362 +/* ===== Contact / form page ===== */ 363 + 364 +.contact-layout { 365 + display: grid; 366 + grid-template-columns: minmax(0, .85fr) minmax(320px, 1.15fr); 367 + gap: 32px; 368 + max-width: 1000px; 369 + margin: 0 auto; 370 + align-items: start; 371 +} 372 + 373 +.contact-card { 374 + background: #fff; 375 + border: 1px solid @line; 376 + border-radius: @radius; 377 + box-shadow: @shadow-sm; 378 + padding: 20px; 379 +} 380 + 381 +.contact-card h3 { 382 + margin-top: 0; 383 +} 384 + 385 +.contact-list { 386 + list-style: none; 387 + padding: 0; 388 + margin: 12px 0 0; 389 + 390 + li { 391 + margin: 8px 0; 392 + color: @muted; 252 252 } 253 253 254 - /* Mobile: 1 per row */ 255 - @media (max-width: 767px) { 256 - .services-grid { 257 - gap: 16px; 258 - max-width: 100%; 259 - } 395 + i { 396 + color: @brand; 397 + margin-right: 8px; 398 + } 260 260 261 - .service, 262 - .service-center { 263 - flex: 0 1 100%; 264 - margin-left: 0; 265 - margin-right: 0; 266 - } 400 + a { 401 + color: @brand; 267 267 } 268 268 } 269 269 405 +.form-panel { 406 + background: #fff; 407 + border: 1px solid @line; 408 + border-radius: @radius; 409 + box-shadow: @shadow-sm; 410 + padding: 22px; 411 +} 412 + 413 +.form-panel .xform dl { 414 + margin: 0; 415 +} 416 + 417 +.form-panel .xform dt { 418 + margin-top: 12px; 419 +} 420 + 421 +.form-panel .xform dt:first-child { 422 + margin-top: 0; 423 +} 424 + 425 +.form-panel .xform label { 426 + color: @text; 427 + font-weight: 700; 428 +} 429 + 430 +.form-panel .xform .xHint { 431 + display: block; 432 + color: @muted; 433 + font-size: 12px; 434 + margin-top: 2px; 435 +} 436 + 437 +.form-panel .xform dd { 438 + margin-left: 0; 439 + margin-bottom: 10px; 440 +} 441 + 442 +.form-panel input[type="text"], 443 +.form-panel input[type="email"], 444 +.form-panel textarea, 445 +.form-panel select { 446 + width: 100%; 447 + max-width: 100%; 448 + border: 1px solid @line; 449 + border-radius: 8px; 450 + padding: 8px 10px; 451 +} 452 + 270 270 /* ===== CTA ===== */ 454 + 271 271 .cta-section { 272 272 padding: 24px 0 16px; 457 +} 273 273 274 - .contact-inline { 275 - margin: 0; 276 - color: @muted; 277 - a { color: @brand; } 459 +.contact-inline { 460 + margin: 0; 461 + color: @muted; 462 + 463 + a { 464 + color: @brand; 465 + font-weight: 700; 278 278 } 279 279 } 468 + 469 +/* ===== Compact sections ===== */ 470 + 471 +.compact-section { 472 + padding: 28px 0; 473 +} 474 + 475 +.compact-section h2 { 476 + margin-top: 0; 477 + margin-bottom: 14px; 478 +} 479 + 480 +/* ===== Responsive ===== */ 481 + 482 +@media (max-width: 767px) { 483 + section { 484 + padding: 26px 0; 485 + } 486 + 487 + .landing-hero { 488 + min-height: 280px; 489 + } 490 + 491 + .landing-hero h1, 492 + .page-header-compact h1 { 493 + font-size: 28px; 494 + } 495 + 496 + .page-lead, 497 + .landing-hero .lead { 498 + font-size: 16px; 499 + } 500 + 501 + .service { 502 + flex: 0 1 100%; 503 + } 504 + 505 + .split-section, 506 + .contact-layout { 507 + grid-template-columns: 1fr; 508 + gap: 20px; 509 + } 510 +}