/*
Theme Name: Madeley Finance
Author: Madeley Finance
Description: Responsive corporate finance and administration website inspired by the supplied visual reference.
Version: 20.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: madeley-finance
*/
:root{--navy:#09284a;--navy-deep:#041a30;--blue:#168bea;--blue-dark:#07549c;--gold:#c7a24d;--ink:#18304b;--muted:#526b86;--pale:#eff7ff;--line:#d8e9f8;--white:#fff;--shadow:0 8px 26px rgba(5,38,73,.055)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--ink);line-height:1.55;background:#fff}a{color:var(--blue-dark);text-decoration:none}a:hover{color:var(--blue)}img{max-width:100%;height:auto}.container{width:min(1190px,calc(100% - 48px));margin-inline:auto}
.site-header{background:#fff;border-bottom:1px solid #e6edf4;position:relative;z-index:10}.header-inner{min-height:86px;display:flex;align-items:center;justify-content:space-between;gap:28px}.brand img{display:block;width:225px;max-height:76px;object-fit:contain}.main-nav ul{display:flex;gap:27px;align-items:center;list-style:none;margin:0;padding:0}.main-nav a{color:#142c4c;font-size:13px;font-weight:600;white-space:nowrap}.main-nav a:hover,.main-nav .current-menu-item>a{color:var(--blue-dark)}.main-nav .current-menu-item>a{border-bottom:2px solid var(--blue);padding-bottom:10px}.nav-cta,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--blue);border:1px solid var(--blue);color:#fff!important;border-radius:25px;padding:12px 23px;font-weight:700;font-size:13px;white-space:nowrap;transition:.2s}.nav-cta{background:#07549c;border-color:#07549c}.nav-cta:hover,.button:hover{background:var(--navy);border-color:var(--navy);transform:translateY(-1px)}
.hero{background:linear-gradient(90deg,rgba(3,24,45,.97) 0%,rgba(5,37,66,.91) 35%,rgba(5,37,66,.35) 100%),url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2000&q=85') center 48%/cover no-repeat;color:#fff;position:relative;overflow:hidden}.hero-inner{padding:65px 0 68px;min-height:352px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;position:relative;z-index:1}.eyebrow{text-transform:uppercase;letter-spacing:2.5px;font-size:10px;font-weight:800;color:var(--blue);margin:0 0 10px}.hero .eyebrow{color:#fff}.hero h1{font-size:clamp(36px,4vw,48px);line-height:1.08;letter-spacing:-1px;margin:0 0 18px;color:#fff;max-width:590px}.hero h1 span{color:#45b0ff}.hero p{font-size:14px;line-height:1.65;max-width:440px;color:#f1f6fc;margin:0 0 22px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap}.button-outline{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(255,255,255,.65);color:#fff!important;border-radius:25px;padding:12px 22px;font-size:13px;font-weight:700}.button-outline:hover{background:#fff;color:var(--navy)!important}
.section{padding:38px 0 24px}.section-pale{background:linear-gradient(120deg,#f1f8ff,#f8fbff)}.section-heading{text-align:center;max-width:760px;margin:0 auto 25px}.section-heading .eyebrow{font-size:12px;color:var(--blue)}h2{font-size:clamp(27px,3vw,34px);line-height:1.2;letter-spacing:-.6px;color:#0b2445;margin:0 0 9px}.section-heading p{font-size:14px;color:#4b6888;margin:0 auto;max-width:660px}
.services-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.service-card{background:#fff;border:1px solid #d5e8fa;border-radius:6px;padding:14px 14px 17px;box-shadow:none;min-width:0}.service-icon{height:54px;width:54px;border-radius:50%;background:#e0f1ff;color:#006bd6;display:grid;place-items:center;font-size:25px;margin:0 0 10px}.service-card h3{font-size:15px;line-height:1.25;color:#0b2445;margin:0 0 12px}.service-card p{font-size:11px;line-height:1.55;color:#425f80;margin:0 0 12px;min-height:35px}.service-card ul{padding:0;margin:0;list-style:none;color:#294b70;font-size:10.5px;line-height:1.5}.service-card li{position:relative;padding:4px 0 4px 19px}.service-card li:before{content:"✓";position:absolute;left:0;top:3px;color:#0785f9;font-weight:900;font-size:14px}
.benefits{padding:24px 0 22px;background:#f1f8ff}.benefit-grid{display:grid;grid-template-columns:repeat(4,1fr)}.benefit{padding:0 22px;text-align:center;border-right:1px solid #c9e3fb}.benefit:last-child{border-right:0}.benefit-icon{font-size:31px;color:#075bb2;margin-bottom:5px}.benefit h3{font-size:13px;color:#07376a;margin:0 0 7px}.benefit p{font-size:11px;color:#385b82;margin:0 auto;max-width:210px}
.about-section{display:grid;grid-template-columns:42% 58%;align-items:stretch}.about-photo{min-height:255px;background:url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=85') center/cover no-repeat}.about-copy{padding:33px clamp(25px,4vw,55px);align-self:center}.about-copy .eyebrow{margin-bottom:6px}.about-copy h2{font-size:26px}.about-copy p{font-size:13px;color:#456587;margin:10px 0}.about-copy .button{margin-top:4px;background:#07549c}
.cta-band{background:linear-gradient(110deg,#062344,#082f56);color:white;padding:27px 0;position:relative;overflow:hidden}.cta-inner{display:grid;grid-template-columns:1fr 1fr auto;align-items:center;gap:25px}.cta-band .eyebrow{color:#fff;font-size:9px;margin-bottom:5px}.cta-band h2{font-size:27px;color:#fff;margin:0}.cta-band p{color:#e0ebf7;font-size:11px;margin:0;max-width:300px}.cta-button{display:inline-flex;align-items:center;gap:10px;color:#fff!important;border:1px solid #24a5ff;border-radius:25px;padding:10px 19px;font-size:12px;white-space:nowrap}
.site-footer{background:#04192d;color:#d5e2ef;padding:21px 0 12px}.footer-top{display:grid;grid-template-columns:190px 1fr auto;gap:25px;align-items:center;padding-bottom:17px;border-bottom:1px solid rgba(100,177,235,.4)}.footer-logo{width:150px;max-height:56px;object-fit:contain;background:#fff;padding:3px}.footer-links{display:flex;justify-content:center;flex-wrap:wrap;gap:17px}.footer-links a{color:#e4edf7;font-size:10px}.footer-tagline{font-size:11px;line-height:1.5;color:#fff}.footer-bottom{display:flex;justify-content:space-between;gap:15px;padding-top:11px;font-size:9px;color:#b7c8d9}.footer-bottom a{color:#d5e2ef}
.page-hero{background:linear-gradient(100deg,#04192d,#0a3762);color:#fff;padding:46px 0}.page-hero h1{color:#fff;font-size:clamp(32px,4vw,44px);margin:0 0 10px}.page-hero p{color:#dce7f1;max-width:750px;margin:0}.content-wrap{padding:45px 0 70px;max-width:950px}.content-wrap h2,.content-wrap h3{margin-top:28px}.content-wrap p,.content-wrap li{color:#435e7b}.contact-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:28px}.contact-card{background:var(--pale);padding:26px;border-radius:7px}.contact-form{border:1px solid var(--line);padding:25px;border-radius:7px}.contact-form label{display:block;font-weight:700;font-size:13px;color:var(--navy);margin:13px 0 6px}.contact-form input,.contact-form textarea,.contact-form select{width:100%;padding:11px;border:1px solid #cbd8e4;border-radius:4px;font:inherit;background:white}.contact-form textarea{min-height:120px}.form-note{font-size:11px;color:var(--muted)}.screen-reader-text{position:absolute;left:-9999px}
@media(max-width:1000px){.header-inner{gap:15px}.brand img{width:180px}.main-nav ul{gap:15px}.services-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.service-card p{min-height:0}.footer-top{grid-template-columns:150px 1fr}.footer-tagline{display:none}}
@media(max-width:700px){.container{width:calc(100% - 30px)}.header-inner{padding:10px 0;flex-wrap:wrap;justify-content:center}.brand img{width:185px}.main-nav{width:100%;overflow-x:auto}.main-nav ul{justify-content:center;gap:18px}.main-nav a{font-size:12px}.nav-cta{display:none}.hero-inner{padding:55px 0;min-height:330px}.hero h1{font-size:37px}.hero p{font-size:13px}.section{padding:37px 0 22px}.services-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.service-card{padding:16px}.service-card h3{font-size:14px}.service-card p,.service-card ul{font-size:11px}.benefit-grid{grid-template-columns:repeat(2,1fr);row-gap:20px}.benefit:nth-child(2){border-right:0}.benefit{padding:0 13px}.about-section{grid-template-columns:1fr}.about-photo{min-height:220px}.about-copy{padding:28px 22px}.cta-inner{grid-template-columns:1fr;gap:12px}.cta-band h2{font-size:25px}.footer-top{grid-template-columns:1fr;justify-items:center;gap:15px}.footer-links{gap:14px}.footer-bottom{flex-direction:column;align-items:center;text-align:center}.contact-grid{grid-template-columns:1fr}}
@media(max-width:390px){.services-grid{grid-template-columns:1fr}.service-card p{min-height:0}.main-nav ul{justify-content:flex-start}.hero h1{font-size:33px}}

/* Version 3 refinements */
.brand img{width:260px;max-height:92px}.header-inner{min-height:99px}
.hero .hero-promise{white-space:nowrap;font-size:clamp(8px,1.05vw,11px);letter-spacing:clamp(.5px,.17vw,2px);max-width:none;line-height:1.4}
.detail-intro{max-width:740px;margin:0 auto 38px;text-align:center}.detail-intro p{color:var(--muted)}
.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:30px 0 45px}
.detail-card{border:1px solid var(--line);background:#fff;border-radius:12px;overflow:hidden;box-shadow:var(--shadow);display:flex;flex-direction:column}
.detail-card:nth-child(5){grid-column:1/-1;display:grid;grid-template-columns:40% 60%}
.detail-image{height:205px;background-size:cover;background-position:center;position:relative}
.detail-card:nth-child(5) .detail-image{height:100%;min-height:260px}
.detail-icon{position:absolute;bottom:-22px;left:24px;width:49px;height:49px;border-radius:12px;background:#07549c;color:white;display:grid;place-items:center;border:3px solid #fff;box-shadow:0 4px 12px #0002}
.detail-icon svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.detail-copy{padding:34px 26px 25px}.detail-copy h2{font-size:23px}.detail-copy p{color:#4c6681;font-size:14px}.detail-copy ul{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:9px}.detail-copy li{padding-left:22px;position:relative;color:#304c68;font-size:13px}.detail-copy li:before{content:'✓';position:absolute;left:0;color:var(--blue);font-weight:bold}
.about-lead{display:grid;grid-template-columns:1fr 1fr;gap:38px;align-items:center;margin-bottom:40px}.about-lead img{width:100%;height:340px;object-fit:cover;border-radius:12px}.about-lead p,.about-tile p{color:#4c6681;font-size:15px}.about-panels{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:25px 0 45px}.about-tile{background:#f1f8ff;border:1px solid var(--line);padding:27px;border-radius:10px}.about-tile h2{font-size:22px}.page-content-v3{padding:55px 0 70px}.page-content-v3 .eyebrow{font-size:11px}
@media(max-width:1000px){.brand img{width:210px}.detail-grid{gap:16px}}
@media(max-width:700px){.brand img{width:210px}.header-inner{min-height:auto}.detail-grid,.about-lead,.about-panels{grid-template-columns:1fr}.detail-card:nth-child(5){grid-column:auto;display:flex}.detail-card:nth-child(5) .detail-image{height:205px;min-height:0}.page-content-v3{padding:35px 0 45px}.about-lead img{height:240px}.hero .hero-promise{font-size:9px;letter-spacing:.4px}}
@media(max-width:390px){.hero .hero-promise{font-size:8px;letter-spacing:0}}

/* Madeley Finance v4 navigation and footer refinements */
.main-nav a{font-size:15px;line-height:1.5}
.footer-logo{width:225px;max-height:112px;height:auto;padding:5px}
.footer-top{grid-template-columns:245px 1fr auto;gap:22px;padding-bottom:24px}
.footer-links{gap:18px 22px}
.footer-links a{font-size:14px;line-height:1.6}
.footer-tagline{font-size:13px}
.footer-bottom{font-size:12px;line-height:1.6;padding-top:17px}
@media(max-width:1100px){.footer-top{grid-template-columns:210px 1fr}.footer-tagline{display:none}.main-nav a{font-size:14px}.main-nav ul{gap:14px}}
@media(max-width:700px){.main-nav a{font-size:14px}.footer-top{grid-template-columns:1fr}.footer-logo{width:215px}.footer-links{gap:12px 18px;justify-content:center}.footer-links a{font-size:14px}.footer-bottom{font-size:12px}}

/* V6: slightly larger brand without crowding mobile navigation */
.brand img{width:285px;max-height:105px}
@media(max-width:1000px){.brand img{width:230px}}
@media(max-width:700px){.brand img{width:225px}}
.why-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:30px 0}.why-fact{background:#f0f6fc;border:1px solid #d9e8f6;border-radius:12px;padding:25px}.why-fact h3{color:#0b467d;font-size:22px;margin:0 0 10px}.why-fact p{margin:0}.legal-copy{max-width:900px;margin:0 auto;padding:45px 0 70px}.legal-copy h2{margin-top:30px}.legal-copy p,.legal-copy li{line-height:1.8}
@media(max-width:700px){.why-facts{grid-template-columns:1fr}}

/* V8: ICO registration text (not the ICO's official logo) */
.madeley-ico-note{display:flex;align-items:center;justify-content:center;gap:11px;padding:18px 12px 15px;border-bottom:1px solid rgba(100,177,235,.3);color:#d5e2ef;font-size:12px;line-height:1.6;text-align:left}
.madeley-ico-note a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.madeley-ico-symbol{flex:none;display:grid;place-items:center;width:28px;height:28px;border:1px solid #9ec2dd;border-radius:50%;font-weight:700;color:#c5e6fa}
.madeley-contact-section{padding:60px 0 80px;background:#f5f8fc}
.madeley-contact-layout{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);gap:34px;align-items:start}
.madeley-contact-info{padding:24px 15px 24px 0}
.madeley-contact-info h2{font-size:clamp(25px,3vw,34px);line-height:1.2;color:#092d50;margin:8px 0 20px}
.madeley-contact-info p{color:#52677d;line-height:1.75}
.madeley-contact-email{display:flex;gap:15px;align-items:center;background:#fff;border:1px solid #dce6f0;border-radius:10px;padding:18px;margin:28px 0 14px;box-shadow:0 8px 22px rgba(5,30,55,.04)}
.madeley-contact-email-icon{display:grid;place-items:center;background:#e6f2fb;color:#0a416c;border-radius:10px;width:43px;height:43px;font-size:23px}
.madeley-contact-email strong{display:block;color:#123452;font-size:13px}
.madeley-contact-email a{display:block;color:#11609b;font-weight:700;overflow-wrap:anywhere;margin-top:3px}
.madeley-contact-small{font-size:12px}
.madeley-contact-form-panel{background:#fff;border:1px solid #dce6f0;border-radius:12px;padding:32px;box-shadow:0 14px 40px rgba(5,30,55,.07)}
.madeley-contact-form-panel h2{color:#092d50;font-size:25px;margin:0 0 8px}
.madeley-contact-form-panel>p{color:#52677d;margin:0 0 20px}
.madeley-contact-form-panel input:not([type=checkbox]):not([type=radio]),.madeley-contact-form-panel select,.madeley-contact-form-panel textarea{max-width:100%;width:100%;border:1px solid #cbd8e4;border-radius:6px;padding:12px;background:#fff}
.madeley-contact-form-panel input[type=submit],.madeley-contact-form-panel button[type=submit]{background:#0a416c!important;color:#fff!important;border:0;border-radius:6px;padding:12px 25px;cursor:pointer}
@media(max-width:760px){.madeley-contact-layout{grid-template-columns:1fr;gap:18px}.madeley-contact-section{padding:35px 0 55px}.madeley-contact-info{padding:0}.madeley-contact-form-panel{padding:22px}.madeley-ico-note{align-items:flex-start}}

/* V9 visual polish: consistent typography, spacing and navigation */
body{font-family:Inter,"Segoe UI",Arial,sans-serif;font-size:15px;line-height:1.7;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4{font-family:Inter,"Segoe UI",Arial,sans-serif;letter-spacing:-.025em;line-height:1.2}
p{line-height:1.75}
.site-header{box-shadow:0 3px 20px rgba(9,40,74,.045)}
.header-inner{gap:20px}
.main-nav ul{gap:clamp(11px,1.35vw,23px)}
.main-nav a{font-size:13px;font-weight:650;transition:color .2s ease}
.nav-cta{border-radius:8px;padding:12px 20px;box-shadow:0 5px 14px rgba(7,84,156,.16);font-size:13px}
.nav-cta:hover{box-shadow:0 8px 18px rgba(7,84,156,.2)}
.section{padding-top:55px;padding-bottom:48px}
.section-heading{margin-bottom:34px}
.service-card,.detail-card,.why-fact{border-radius:13px;transition:transform .2s ease,box-shadow .2s ease}
.service-card:hover,.detail-card:hover,.why-fact:hover{transform:translateY(-3px);box-shadow:0 12px 32px rgba(9,40,74,.10)}
.footer-links a{font-size:13px;transition:color .2s ease}
.footer-links a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px}
.madeley-contact-form-panel{padding:27px 32px}
.madeley-contact-form-panel .madeley-contact-form-content> :first-child{margin-top:0}
.madeley-contact-form-panel label{font-weight:600;color:#163954}
.madeley-contact-form-panel input:focus,.madeley-contact-form-panel textarea:focus,.madeley-contact-form-panel select:focus{outline:2px solid #a2c8e7;outline-offset:1px}
.madeley-contact-form-panel input[type=submit],.madeley-contact-form-panel button[type=submit]{font-weight:700;min-height:44px;transition:background .2s ease}
.madeley-contact-email-icon{font-family:Arial,sans-serif}
@media(max-width:1100px){.header-inner{gap:12px}.main-nav ul{gap:11px}.main-nav a{font-size:12px}.brand img{width:210px}.nav-cta{padding:10px 13px}}
@media(max-width:700px){.main-nav{overflow-x:auto}.main-nav ul{width:max-content;min-width:100%;justify-content:center;gap:17px}.main-nav a{font-size:13px}.nav-cta{display:inline-flex;margin:3px auto 7px}.header-inner{gap:10px}.section{padding:40px 0}.madeley-contact-form-panel{padding:22px}}
@media(prefers-reduced-motion:reduce){.service-card,.detail-card,.why-fact,.nav-cta{transition:none}.service-card:hover,.detail-card:hover,.why-fact:hover{transform:none}}

/* V10: Calibri for the Your message label only (not the entire form). */
.madeley-contact-form-panel .madeley-message-label,
.madeley-contact-form-panel label[for*="message" i],
.madeley-contact-form-panel label[for*="textarea" i],
.madeley-contact-form-panel .wpforms-field-textarea > label,
.madeley-contact-form-panel .forminator-field-textarea > label,
.madeley-contact-form-panel .gfield--type-textarea > .gfield_label {
 font-family:Calibri,"Carlito","Segoe UI",Arial,sans-serif !important;
}

/* V11: larger top-left header logo, responsive sizes */
@media(min-width:1101px){.site-header .brand img{width:345px;max-height:130px;height:auto}.site-header .header-inner{min-height:120px}}
@media(min-width:701px) and (max-width:1100px){.site-header .brand img{width:255px;max-height:105px;height:auto}}
@media(max-width:700px){.site-header .brand img{width:250px;max-width:90vw;max-height:110px;height:auto}}

/* V12: extra-large header logo, keeping navigation responsive */
@media(min-width:1101px){.site-header .brand img{width:420px;max-width:100%;max-height:160px;height:auto}.site-header .header-inner{min-height:145px;gap:14px}.site-header .main-nav ul{gap:14px}}
@media(min-width:701px) and (max-width:1100px){.site-header .brand img{width:295px;max-height:125px;height:auto}}
@media(max-width:700px){.site-header .brand img{width:290px;max-width:92vw;max-height:130px;height:auto}}

/* V13: double the V12 top-left logo size; navigation gets its own row on desktop. */
@media(min-width:1101px){
 .site-header .header-inner{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;min-height:0;padding-top:14px;padding-bottom:14px;gap:12px 20px}
 .site-header .brand{flex:0 1 100%;min-width:0}
 .site-header .brand img{width:840px;max-width:100%;max-height:320px;height:auto;object-fit:contain;object-position:left center}
 .site-header .main-nav{flex:1 1 auto}
 .site-header .main-nav ul{justify-content:flex-start;flex-wrap:wrap;gap:12px 20px}
 .site-header .nav-cta{margin-left:auto}
}
@media(min-width:701px) and (max-width:1100px){
 .site-header .header-inner{flex-wrap:wrap;padding-top:12px;padding-bottom:12px}
 .site-header .brand{flex:0 0 100%}
 .site-header .brand img{width:590px;max-width:100%;max-height:250px;height:auto}
 .site-header .main-nav ul{flex-wrap:wrap}
}
@media(max-width:700px){
 .site-header .brand img{width:580px;max-width:100%;max-height:none;height:auto}
}

/* V14: Remove height constraints that previously overrode the requested logo width. */
@media (min-width:1101px) {
  .site-header .brand img {width:840px; height:auto; max-height:none; max-width:100%; object-fit:contain;}
}
@media (min-width:701px) and (max-width:1100px) {
  .site-header .brand img {width:590px; height:auto; max-height:none; max-width:100%; object-fit:contain;}
}
@media (max-width:700px) {
  .site-header .brand img {width:580px; height:auto; max-height:none; max-width:100%; object-fit:contain;}
}

/* V16: reliable entrance animation. Animate the full brand link, not only its image.
   The previous -min() transform was invalid CSS in some browsers. */
.site-header .header-inner {display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px 20px;min-height:0;padding-top:14px;padding-bottom:14px;}
.site-header .brand {flex:0 0 100%;width:100%;display:flex;justify-content:center;align-items:center;min-width:0;overflow:visible;animation:madeley-brand-arrive 3s cubic-bezier(.16,1,.3,1) both;will-change:transform,opacity;}
.site-header .brand img {display:block;width:420px;max-width:90vw;max-height:none;height:auto;object-fit:contain;object-position:center;animation:none!important;}
.site-header .main-nav {flex:1 1 auto;}
@media(min-width:701px) and (max-width:1100px){.site-header .brand img{width:295px;max-width:90vw;}}
@media(max-width:700px){.site-header .brand img{width:290px;max-width:90vw;}}
@keyframes madeley-brand-arrive {
  0% {opacity:0;transform:translate3d(-85vw,0,0);}
  15% {opacity:1;}
  78% {opacity:1;transform:translate3d(12px,0,0);}
  100% {opacity:1;transform:translate3d(0,0,0);}
}
@media(prefers-reduced-motion:reduce){.site-header .brand{animation:none!important;will-change:auto;}}

/* V17: evenly distributed, larger primary navigation; single Contact Us link */
.site-header .main-nav{flex:1 1 100%;width:100%;min-width:0;}
.site-header .main-nav ul{display:flex;align-items:center;justify-content:space-evenly;gap:12px 22px;width:100%;margin:0;padding:0;flex-wrap:wrap;}
.site-header .main-nav ul>li{flex:1 1 0;text-align:center;min-width:max-content;}
.site-header .main-nav a{font-size:clamp(16px,1.35vw,19px);font-weight:650;display:inline-block;padding:10px 3px;}
.site-header .nav-cta{display:none!important;}
@media(max-width:700px){.site-header .main-nav{overflow-x:visible}.site-header .main-nav ul{width:100%;min-width:0;justify-content:center;gap:5px 14px;flex-wrap:wrap}.site-header .main-nav ul>li{flex:0 1 auto;min-width:0}.site-header .main-nav a{font-size:15px;padding:8px 5px;}}

/* V18: transparent-background header logo asset; header sizing and animation unchanged. */


/* V20: premium homepage, refined header and balanced service cards */
.site-header{border-bottom:1px solid #dce5ef;box-shadow:0 2px 16px rgba(8,31,55,.035)}
.site-header .header-inner{padding-top:25px;padding-bottom:19px;row-gap:15px}
.site-header .main-nav{border-top:1px solid #edf1f5;padding-top:7px}
.site-header .main-nav ul>li{min-width:0}
.site-header .main-nav a{position:relative;border-bottom:0!important;padding:9px 4px 12px;transition:color .22s ease}
.site-header .main-nav a::after{content:"";position:absolute;bottom:4px;left:4px;right:4px;height:2px;background:#c7a24d;transform:scaleX(0);transform-origin:center;transition:transform .25s ease}
.site-header .main-nav a:hover::after,.site-header .main-nav .current-menu-item>a::after{transform:scaleX(1)}
.madeley-hero{background:linear-gradient(105deg,rgba(5,26,48,.99) 0%,rgba(9,40,74,.97) 58%,rgba(13,50,84,.85) 100%),url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=2000&q=85') center/cover no-repeat}
.madeley-hero .hero-inner{min-height:460px;padding:90px 0 94px;align-items:flex-start}
.madeley-hero .eyebrow{color:#d6b778;font-size:12px;letter-spacing:2.4px;margin-bottom:21px}
.madeley-hero h1{font-size:clamp(43px,5.4vw,72px);line-height:1.09;letter-spacing:-.045em;max-width:850px;margin-bottom:23px}
.madeley-hero h1 span{color:#d9b878}
.madeley-hero p:not(.eyebrow){font-size:clamp(16px,1.5vw,19px);line-height:1.7;max-width:625px;margin-bottom:30px;color:#e4edf6}
.madeley-hero .hero-actions{gap:15px}
.madeley-hero .button,.madeley-hero .button-outline{border-radius:7px;padding:15px 27px;font-size:15px;min-height:52px;transition:background .2s ease,transform .2s ease}
.madeley-hero .button{background:#c7a24d;border-color:#c7a24d;color:#102b46!important}
.madeley-hero .button:hover{background:#e0bd6a;border-color:#e0bd6a}
.madeley-hero .button-outline{border-color:#c7d6e6;color:#fff!important}
.madeley-hero .button-outline:hover{background:#fff;color:#102b46!important}
.madeley-services{background:#f6f8fb;padding:80px 0 88px}
.madeley-services .section-heading{margin-bottom:38px}
.madeley-services .section-heading .eyebrow{color:#a57b2d;font-size:12px;letter-spacing:2px;margin-bottom:12px}
.madeley-services .section-heading h2{font-size:clamp(30px,3.5vw,43px);margin-bottom:14px}
.madeley-services .section-heading>p:last-child{font-size:16px;max-width:670px}
.madeley-services .services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.madeley-services .service-card{display:flex;flex-direction:column;min-height:270px;padding:29px 27px 26px;background:#fff;border:1px solid #e0e8f0;border-radius:13px;box-shadow:0 7px 26px rgba(9,40,74,.035)}
.madeley-services .service-icon{width:56px;height:56px;flex:none;border-radius:12px;background:#edf3f9;color:#123c63;margin-bottom:21px}
.madeley-services .service-icon svg{width:27px;height:27px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.madeley-services .service-card h3{font-size:19px;line-height:1.3;margin:0 0 12px}
.madeley-services .service-card p{font-size:14px;line-height:1.7;min-height:0;margin:0 0 20px;color:#50657a}
.madeley-services .service-link{margin-top:auto;display:inline-flex;align-items:center;gap:8px;color:#07549c;font-size:14px;font-weight:750;width:max-content}
.madeley-services .service-link:hover{text-decoration:underline;text-underline-offset:4px}
@media(max-width:900px){.madeley-services .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.madeley-hero .hero-inner{min-height:400px;padding:75px 0}}
@media(max-width:600px){.site-header .header-inner{padding-top:18px;padding-bottom:12px}.site-header .main-nav{padding-top:9px}.site-header .main-nav a{font-size:14px}.madeley-hero .hero-inner{min-height:0;padding:68px 0 72px}.madeley-hero h1{font-size:clamp(37px,10vw,52px)}.madeley-hero .button,.madeley-hero .button-outline{flex:1 1 auto}.madeley-services{padding:55px 0 60px}.madeley-services .services-grid{grid-template-columns:1fr;gap:15px}.madeley-services .service-card{min-height:0;padding:25px}.madeley-services .section-heading>p:last-child{font-size:15px}}
@media(prefers-reduced-motion:reduce){.site-header .main-nav a::after{transition:none}}


/* V22: homepage styling based on approved mockup; header logo dimensions and animation untouched. */
.madeley-home-v22{--v22navy:#0a2948;--v22gold:#cda341}
.madeley-home-v22 .v22-hero{background:linear-gradient(90deg,rgba(5,29,53,.93) 0%,rgba(6,32,56,.78) 35%,rgba(6,32,56,.18) 100%),url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&w=2200&q=90') center center/cover no-repeat;background-color:#183b5a}
.madeley-home-v22 .v22-hero .hero-inner{min-height:470px;padding:80px 0 88px}
.madeley-home-v22 .v22-hero .eyebrow{color:#edc45e;margin-bottom:13px;font-size:13px;letter-spacing:1.5px}
.madeley-home-v22 .v22-hero h1{color:#fff;font-size:clamp(44px,5vw,72px);line-height:1.06;max-width:760px;margin-bottom:19px;letter-spacing:-.04em}
.madeley-home-v22 .v22-hero p:not(.eyebrow){font-size:clamp(16px,1.45vw,19px);max-width:620px;line-height:1.55;margin-bottom:24px}
.madeley-home-v22 .v22-hero .button{background:#d2aa4e;border-color:#d2aa4e;color:#092640!important}
.madeley-home-v22 .v22-hero .button:hover{background:#edc668;border-color:#edc668}
.madeley-home-v22 .v22-hero .button-outline{background:rgba(5,29,53,.1);border-color:#fff}
.madeley-home-v22 .v22-services{background:#fff;padding:56px 0 65px}
.madeley-home-v22 .v22-services .section-heading{margin-bottom:29px}
.madeley-home-v22 .v22-services .section-heading h2,.madeley-home-v22 .v22-why h2,.madeley-home-v22 .v22-process h2{font-family:Georgia,'Times New Roman',serif;font-weight:700;color:#0a2948;font-size:clamp(30px,3vw,40px);text-align:center;line-height:1.2;margin:0 0 12px}
.madeley-home-v22 .v22-services .section-heading h2:after{content:'';display:block;width:45px;height:2px;background:#cda341;margin:11px auto 0}
.madeley-home-v22 .v22-services .section-heading>p:last-child{font-size:15px;max-width:780px;margin:auto;text-align:center;color:#536579}
.madeley-home-v22 .v22-services .services-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.madeley-home-v22 .v22-services .service-card{align-items:center;text-align:center;padding:26px 15px 22px;min-height:260px;border:1px solid #e3e9ef;border-radius:8px;box-shadow:0 4px 20px rgba(15,37,58,.045)}
.madeley-home-v22 .v22-services .service-icon{background:transparent;color:#bb8e28;width:54px;height:54px;margin:0 auto 14px}
.madeley-home-v22 .v22-services .service-icon svg{width:39px;height:39px;stroke-width:1.5}
.madeley-home-v22 .v22-services .service-card h3{font-size:16px;line-height:1.25;margin:0 0 10px}
.madeley-home-v22 .v22-services .service-card p{font-size:13px;line-height:1.55;color:#596878;margin:0 0 16px}
.madeley-home-v22 .v22-services .service-link{margin:auto auto 0;color:#ae7d1c;font-size:13px}
.madeley-home-v22 .v22-why{background:#f1f5f8;padding:47px 0 56px}
.madeley-home-v22 .v22-process{background:#fff;padding:48px 0 60px}
.madeley-home-v22 .v22-gold-rule{height:2px;width:44px;background:#cda341;margin:0 auto 30px}
.madeley-home-v22 .v22-why-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.madeley-home-v22 .v22-why-item{display:flex;align-items:center;gap:14px}
.madeley-home-v22 .v22-why-icon{flex:0 0 62px;width:62px;height:62px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:30px;color:#b88a27}
.madeley-home-v22 .v22-why-item h3,.madeley-home-v22 .v22-step h3{font-size:15px;color:#112e4a;margin:0 0 6px}
.madeley-home-v22 .v22-why-item p,.madeley-home-v22 .v22-step p{font-size:13px;color:#5b6c7d;line-height:1.45;margin:0}
.madeley-home-v22 .v22-process-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px}
.madeley-home-v22 .v22-step{display:flex;align-items:center;gap:18px;position:relative}
.madeley-home-v22 .v22-step-number{flex:0 0 49px;width:49px;height:49px;border-radius:50%;background:#cda341;color:#fff;display:grid;place-items:center;font-weight:700;font-size:20px}
.madeley-home-v22 .v22-step:not(:last-child):after{content:'→';position:absolute;right:-28px;top:12px;color:#cda341;font-size:23px}
@media(max-width:1100px){.madeley-home-v22 .v22-services .services-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.madeley-home-v22 .v22-why-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.madeley-home-v22 .v22-hero .hero-inner{min-height:420px;padding:66px 0}.madeley-home-v22 .v22-services .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.madeley-home-v22 .v22-process-grid{grid-template-columns:1fr;gap:24px}.madeley-home-v22 .v22-step:after{display:none}}
@media(max-width:480px){.madeley-home-v22 .v22-services .services-grid,.madeley-home-v22 .v22-why-grid{grid-template-columns:1fr}.madeley-home-v22 .v22-services .service-card{min-height:0}.madeley-home-v22 .v22-hero h1{font-size:39px}.madeley-home-v22 .v22-why-item{justify-content:flex-start}}

/* V23: consistent premium styling on all internal pages. Logo dimensions and animation deliberately unchanged. */
.madeley-inner-premium{--premium-navy:#0a2948;--premium-gold:#cda341;color:#263b50;background:#fff}
.madeley-inner-premium .page-hero{background:linear-gradient(110deg,rgba(7,33,58,.96),rgba(13,48,78,.88)),url('https://images.unsplash.com/photo-1513635269975-59663e0ac1ad?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;padding:72px 0 76px;border:0}
.madeley-inner-premium .page-hero h1{font-family:Georgia,'Times New Roman',serif;color:#fff;font-size:clamp(36px,4.2vw,58px);line-height:1.13;letter-spacing:-.025em}
.madeley-inner-premium .page-hero p:not(.eyebrow){color:#e0eaf2;font-size:clamp(15px,1.4vw,18px);line-height:1.6;max-width:690px}
.madeley-inner-premium .page-hero .eyebrow{color:#edc45e;letter-spacing:1.8px;font-size:12px}
.madeley-inner-premium .section,.madeley-inner-premium .page-content-v3,.madeley-inner-premium .content-wrap,.madeley-inner-premium .legal-copy,.madeley-inner-premium .madeley-contact-section{padding-top:64px;padding-bottom:75px}
.madeley-inner-premium h2{color:#0a2948;line-height:1.25}
.madeley-inner-premium .section-heading h2,.madeley-inner-premium .detail-intro h2,.madeley-inner-premium .about-lead h2{font-family:Georgia,'Times New Roman',serif;font-size:clamp(27px,3vw,38px)}
.madeley-inner-premium .eyebrow{color:#b28a32;letter-spacing:1.5px}
.madeley-inner-premium .detail-card,.madeley-inner-premium .about-tile,.madeley-inner-premium .why-fact,.madeley-inner-premium .madeley-contact-info,.madeley-inner-premium .madeley-contact-form-panel{border:1px solid #e2e9f0;border-radius:10px;box-shadow:0 8px 25px rgba(11,39,65,.05);overflow:hidden;background:#fff}
.madeley-inner-premium .detail-card,.madeley-inner-premium .about-tile,.madeley-inner-premium .why-fact{transition:box-shadow .2s ease,transform .2s ease}
@media(hover:hover){.madeley-inner-premium .detail-card:hover,.madeley-inner-premium .about-tile:hover,.madeley-inner-premium .why-fact:hover{box-shadow:0 13px 34px rgba(11,39,65,.11);transform:translateY(-3px)}}
.madeley-inner-premium .button,.madeley-inner-premium .cta-button{background:#cda341;color:#092640;border-color:#cda341;border-radius:5px;font-weight:700}
.madeley-inner-premium .button:hover{background:#e2b95d;border-color:#e2b95d}
.madeley-inner-premium .legal-copy,.madeley-inner-premium .content-wrap{max-width:940px;line-height:1.8}
.madeley-inner-premium .legal-copy h2,.madeley-inner-premium .content-wrap h2{font-size:clamp(21px,2.1vw,27px);padding-top:14px;margin-top:24px}
.madeley-inner-premium .legal-copy a,.madeley-inner-premium .content-wrap a{color:#8b641b;text-decoration:underline;text-underline-offset:3px}
.madeley-inner-premium .madeley-contact-layout{gap:32px;align-items:start}
.madeley-inner-premium .madeley-contact-info,.madeley-inner-premium .madeley-contact-form-panel{padding:30px}
@media(max-width:700px){.madeley-inner-premium .page-hero{padding:52px 0 56px}.madeley-inner-premium .section,.madeley-inner-premium .page-content-v3,.madeley-inner-premium .content-wrap,.madeley-inner-premium .legal-copy,.madeley-inner-premium .madeley-contact-section{padding-top:43px;padding-bottom:52px}.madeley-inner-premium .madeley-contact-info,.madeley-inner-premium .madeley-contact-form-panel{padding:20px}}
@media(prefers-reduced-motion:reduce){.madeley-inner-premium .detail-card,.madeley-inner-premium .about-tile,.madeley-inner-premium .why-fact{transition:none}}

/* v24: unified trust and compliance footer on every page */
.madeley-trust-footer{text-align:center;padding:25px 15px 22px;border-bottom:1px solid rgba(100,177,235,.3);color:#d6e2ed}
.madeley-trust-footer h2{font-size:17px;letter-spacing:.025em;color:#fff;margin:0 0 12px;font-weight:650}
.madeley-trust-footer p{font-size:12px;line-height:1.75;margin:4px 0}
.madeley-trust-footer a{color:#fff;text-decoration:underline;text-underline-offset:3px}
.madeley-trust-footer .madeley-trust-note{font-size:10px;color:#afc3d5;margin-top:10px}
@media(max-width:700px){.madeley-trust-footer{padding:22px 4px}.madeley-trust-footer p{font-size:11px}}

/* Three balanced homepage service cards */
@media(min-width:701px){.madeley-home-v22 .v22-services .services-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}}

/* V28: equal-sized Our Services cards in requested 2 x 3 order */
.madeley-inner-premium .detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch}
.madeley-inner-premium .detail-grid .detail-card,.madeley-inner-premium .detail-grid .detail-card:nth-child(5){grid-column:auto;display:flex;flex-direction:column;min-width:0;height:100%}
.madeley-inner-premium .detail-grid .detail-image,.madeley-inner-premium .detail-grid .detail-card:nth-child(5) .detail-image{height:210px;min-height:210px;flex:none;background-position:center;background-size:cover}
.madeley-inner-premium .detail-grid .detail-copy{flex:1;padding:28px 27px 30px}
.madeley-inner-premium .detail-grid .detail-copy h2{font-size:23px;line-height:1.3;min-height:60px;margin:0 0 12px}
.madeley-inner-premium .detail-grid .detail-copy p{font-size:14px;line-height:1.65}
.madeley-inner-premium .detail-grid .detail-copy li{font-size:13px;line-height:1.55}
.madeley-inner-premium .detail-grid .service-fee{font-weight:700;color:#123c63;background:#f0f5fa;padding:9px 12px;border-radius:5px;margin:0 0 12px}
@media(max-width:700px){.madeley-inner-premium .detail-grid{grid-template-columns:1fr;gap:18px}.madeley-inner-premium .detail-grid .detail-copy h2{min-height:0}}

/* V31 homepage polish */
.madeley-home-v22 .v22-hero{position:relative;min-height:520px;display:flex;align-items:center}.madeley-home-v22 .v22-hero .hero-inner{padding-top:90px;padding-bottom:90px}.madeley-home-v22 .v22-hero h1{letter-spacing:-.035em;line-height:1.08}.madeley-home-v22 .services-grid{align-items:stretch}.madeley-home-v22 .service-card{height:100%;display:flex;flex-direction:column;transition:transform .2s ease,box-shadow .2s ease}.madeley-home-v22 .service-card:hover{transform:translateY(-4px);box-shadow:0 18px 45px rgba(14,35,56,.13)}.madeley-home-v22 .service-card .service-link{margin-top:auto}.v31-trust{background:#102a42;color:#fff;padding:32px 0}.v31-trust .container{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.v31-trust .container>div{display:flex;flex-direction:column;gap:5px;text-align:center;border-right:1px solid rgba(255,255,255,.2)}.v31-trust .container>div:last-child{border:0}.v31-trust strong{font-size:23px;color:#fff}.v31-trust span{font-size:13px;color:#d6e1e9}.madeley-simple-form{display:flex;flex-direction:column;gap:10px}.madeley-simple-form label{font-weight:600;font-size:14px}.madeley-simple-form input,.madeley-simple-form select,.madeley-simple-form textarea{width:100%;padding:13px 14px;border:1px solid #cbd4df;border-radius:7px;background:#fff;color:#152a3e;font:inherit;box-sizing:border-box}.madeley-simple-form button{cursor:pointer;align-self:flex-start;margin-top:8px}.madeley-honeypot{position:absolute;left:-9999px}.madeley-form-privacy{font-size:12px;color:#596b79}.madeley-form-alert{padding:12px;border:1px solid #b7c9d7;border-radius:6px}@media(max-width:680px){.v31-trust .container{grid-template-columns:1fr}.v31-trust .container>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.2);padding-bottom:14px}.v31-trust .container>div:last-child{border:0}.madeley-home-v22 .v22-hero{min-height:unset}}

/* V32 — compact Why Choose Us page */
.madeley-why-v32 .why-compact-section{padding:36px 0 52px}
.madeley-why-v32 .why-fee-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:0 0 32px}
.madeley-why-v32 .why-fee-card{background:#f0f6fc;border:1px solid #d9e8f6;border-top:3px solid #cda341;border-radius:10px;padding:23px 25px}
.madeley-why-v32 .why-fee-card .eyebrow{font-size:11px;letter-spacing:1.2px;color:#866720;margin:0 0 9px}
.madeley-why-v32 .why-fee-card h2{font-size:clamp(22px,2.4vw,29px);margin:0 0 9px}
.madeley-why-v32 .why-fee-card p:last-child{margin:0;color:#4c6681;line-height:1.6}
.madeley-why-v32 .why-compact-heading{text-align:center;max-width:760px;margin:25px auto 19px}
.madeley-why-v32 .why-compact-heading h2{font-family:Georgia,'Times New Roman',serif;margin:0 0 8px}
.madeley-why-v32 .why-compact-heading p{margin:0;color:#4c6681}
.madeley-why-v32 .about-lead{gap:26px;margin-bottom:22px}
.madeley-why-v32 .about-lead img{height:250px}
.madeley-why-v32 .about-lead p{margin:0 0 12px}
.madeley-why-v32 .about-panels{gap:16px;margin:0 0 29px}
.madeley-why-v32 .about-tile{padding:21px}
.madeley-why-v32 .about-tile h2{font-size:21px}
.madeley-why-v32 .why-facts{gap:16px;margin:0 0 28px}
.madeley-why-v32 .why-fact{padding:21px}
.madeley-why-v32 .why-final-cta{text-align:center;max-width:760px;margin:0 auto}
.madeley-why-v32 .why-final-cta h2{font-family:Georgia,'Times New Roman',serif;margin:0 0 10px}
.madeley-why-v32 .why-final-cta p{color:#4c6681;margin:0 auto 19px}
@media(max-width:700px){.madeley-why-v32 .why-compact-section{padding:25px 0 38px}.madeley-why-v32 .why-fee-grid{grid-template-columns:1fr;gap:12px;margin-bottom:25px}.madeley-why-v32 .about-lead img{height:220px}.madeley-why-v32 .why-compact-heading{margin:22px auto 15px}}

/* v33: balanced four-column homepage credentials */
.v31-trust .container {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:stretch;}
.v31-trust .container>div {min-width:0;}
@media(max-width:850px){.v31-trust .container{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:480px){.v31-trust .container{grid-template-columns:1fr;}}

/* V34: Tracing rates */
.tracing-pricing-section{padding:56px 0 70px;background:#f6f9fd}.tracing-section-title{text-align:center;max-width:760px;margin:0 auto 27px}.tracing-section-title p{color:#536b83}.tracing-second{margin-top:58px}.tracing-pricing-grid{display:grid;gap:22px;align-items:stretch}.tracing-three{grid-template-columns:repeat(3,minmax(0,1fr))}.tracing-two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:850px;margin:auto}.tracing-price-card{display:flex;flex-direction:column;align-items:flex-start;background:#fff;border:1px solid #d9e6f2;border-radius:15px;padding:30px;box-shadow:0 10px 28px rgba(8,38,70,.055);min-height:315px}.tracing-price-card.tracing-featured{border:2px solid #168bea}.tracing-tier{font-weight:800;font-size:12px;letter-spacing:1px;color:#245278}.tracing-price-card h3{font-size:22px;color:#0b2445;margin:14px 0 6px}.tracing-price{font-size:34px;font-weight:800;color:#07549c;margin:6px 0 14px}.tracing-price small{font-size:12px;font-weight:500;color:#526b86}.tracing-price-card>p:not(.tracing-price){font-size:14px;color:#526b86;line-height:1.7;flex:1}.tracing-price-card .button{margin-top:18px}.tracing-batch{display:flex;align-items:center;justify-content:space-between;gap:28px;background:#09284a;border-radius:16px;color:white;padding:35px 40px;margin-top:60px}.tracing-batch h2{color:#fff}.tracing-batch p{color:#e1eaf4;max-width:700px}.tracing-batch .eyebrow{color:#74c7ff}.tracing-fineprint{font-size:12px;color:#546b82;line-height:1.8;margin:28px auto 0;max-width:1000px}.madeley-rates-link{font-size:12px;padding:9px 17px}@media(max-width:800px){.tracing-three,.tracing-two{grid-template-columns:1fr;max-width:560px;margin-left:auto;margin-right:auto}.tracing-batch{flex-direction:column;align-items:flex-start;padding:26px}.tracing-price-card{min-height:0}}

/* V35: administrative grouping, service CTAs and tracing compliance */
.madeley-inner-premium .service-category-heading{grid-column:1/-1;margin:16px 0 -5px;padding:24px 28px;background:#f0f5fa;border-left:4px solid #173f62;border-radius:8px}
.madeley-inner-premium .service-category-heading h2{font-size:clamp(24px,3vw,32px);margin:3px 0 8px;color:#0a2d4b}
.madeley-inner-premium .service-category-heading p:last-child{margin:0;color:#526779}
.madeley-inner-premium .service-action{display:inline-flex;margin-top:16px}
.madeley-inner-premium .tracing-warning{background:#fff8e9;border-left:3px solid #b98528;border-radius:4px;padding:12px 14px;margin-top:18px;font-size:13px!important}
.madeley-inner-premium .content-wrap h3{margin-top:20px}

/* V36 visual refinements */
.madeley-home-v22 .hero-inner{max-width:1000px;padding-top:clamp(76px,9vw,128px);padding-bottom:clamp(76px,9vw,128px)}
.madeley-home-v22 .hero h1{max-width:850px;letter-spacing:-.035em;line-height:1.07}
.madeley-home-v22 .hero-inner>p:not(.eyebrow){max-width:720px;line-height:1.7}
.madeley-home-v22 .section-heading{max-width:850px;margin-bottom:36px}
.madeley-home-v22 .services-grid{align-items:stretch;gap:24px}
.madeley-home-v22 .service-card{height:100%;display:flex;flex-direction:column;padding:clamp(24px,3vw,36px);border-radius:16px;box-shadow:0 14px 36px rgba(13,34,52,.07);transition:transform .2s ease,box-shadow .2s ease}
.madeley-home-v22 .service-card:hover{transform:translateY(-3px);box-shadow:0 18px 40px rgba(13,34,52,.11)}
.madeley-home-v22 .service-card .service-link{margin-top:auto;padding-top:20px}
.v36-assurance{background:#f3f6f8;border-top:1px solid #e2e8ed;border-bottom:1px solid #e2e8ed}
.v36-assurance .container{display:flex;justify-content:center;align-items:center;gap:clamp(16px,4vw,72px);padding-top:20px;padding-bottom:20px;flex-wrap:wrap}
.v36-assurance span{font-size:13px;font-weight:700;color:#253f54;letter-spacing:.025em}
.v36-assurance span:before{content:'✓';margin-right:9px;color:#97753d}
.v36-trust-note{font-size:12px;line-height:1.5;color:#5a6874;padding-top:10px;padding-bottom:18px}
.v36-final-cta{background:#102b42;color:#fff;padding:60px 0}
.v36-final-cta .container{display:flex;justify-content:space-between;align-items:center;gap:28px}
.v36-final-cta h2{color:#fff;max-width:640px;margin:8px 0 12px}
.v36-final-cta p{color:#d8e3ea;max-width:620px}
.v36-final-cta .button{white-space:nowrap}
.madeley-form-alert.madeley-form-success{background:#e8f6eb!important;border:1px solid #85c994!important;border-left:5px solid #238341!important;color:#14622f!important;padding:18px 20px;border-radius:8px;font-weight:700;line-height:1.55}
.madeley-form-alert.madeley-form-success strong{color:#14622f!important;font-weight:800}
.madeley-form-alert.madeley-form-error{background:#fff0f0;color:#a32424;border:1px solid #e7a2a2;padding:16px;border-radius:8px}
.v36-footer-note{font-size:12px;line-height:1.6;color:#c9d2dc;max-width:920px;margin:20px 0}
.v36-footer-note a{color:inherit;text-decoration:underline}
@media(max-width:760px){.v36-final-cta .container{flex-direction:column;align-items:flex-start}.v36-assurance .container{justify-content:flex-start}.madeley-home-v22 .hero-inner{padding-top:68px;padding-bottom:68px}}

/* v38: four equally spaced homepage service cards */
@media (min-width: 1100px){.madeley-home-v22 .services-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.madeley-home-v22 .service-card{min-width:0}}
@media (min-width: 680px) and (max-width:1099px){.madeley-home-v22 .services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
.madeley-home-v22 .hero .eyebrow{line-height:1.7;letter-spacing:.11em}

/* V39: four aligned homepage services and single-line desktop service strapline */
@media (min-width: 1000px) {
  .madeley-home-v22 .v22-services .services-grid {grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;}
  .madeley-home-v22 .v22-hero .eyebrow {white-space:nowrap;font-size:clamp(10px,1.05vw,14px);letter-spacing:.055em;}
}
@media (min-width: 700px) and (max-width: 999px) {
  .madeley-home-v22 .v22-services .services-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
  .madeley-home-v22 .v22-hero .eyebrow {white-space:nowrap;font-size:clamp(9px,1.2vw,12px);letter-spacing:0;}
}
@media (max-width: 699px) {
  .madeley-home-v22 .v22-hero .eyebrow {font-size:11px;letter-spacing:.03em;line-height:1.6;}
}

/* v40: Emphasise service fee commitments */
.madeley-services .service-fee-highlight { color: #ad812b; font-weight: 800; }

/* Version 41: clear fee terms and balanced service/facts grids */
.fee-line{margin-top:12px!important}.fee-line .service-fee-highlight{display:block;margin-bottom:5px}.fee-line small,.fee-disclaimer,.why-fee-card small,.why-industry-facts small{display:block;font-size:12px;line-height:1.55;opacity:.8;font-weight:400}.why-fee-grid-three{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.why-fee-grid-three .why-fee-card{min-width:0}.about-panels-four,.why-facts-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.about-panels-four>* ,.why-facts-four>*{min-width:0}.why-industry-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}@media(max-width:1000px){.about-panels-four,.why-facts-four{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:760px){.why-fee-grid-three,.about-panels-four,.why-facts-four,.why-industry-facts{grid-template-columns:1fr}}

/* V42: five-column proof bar and refreshed Why Choose Us */
.v31-trust .container{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;max-width:1320px}
.v31-trust .container>div{padding:9px 16px;justify-content:center;gap:9px}
.v31-trust strong{font-size:clamp(17px,1.55vw,23px);line-height:1.3}
.v31-trust span{line-height:1.55}
.madeley-why-v32 .why-fee-grid.why-fee-grid-three{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.madeley-why-v32 .why-fee-grid-three .why-fee-card{background:linear-gradient(145deg,#fff 0%,#f1f6fb 100%);border:1px solid #d8e3ef;border-top:4px solid #c9a14b;box-shadow:0 12px 30px rgba(12,37,61,.08);padding:27px 23px;transition:transform .2s,box-shadow .2s}
.madeley-why-v32 .why-fee-grid-three .why-fee-card:hover{transform:translateY(-4px);box-shadow:0 18px 34px rgba(12,37,61,.13)}
.madeley-why-v32 .why-fee-grid-three .why-fee-card h2{font-size:clamp(20px,2vw,27px);color:#102e48;line-height:1.25}
.madeley-why-v32 .why-fee-grid-three .why-fee-card small{margin-top:13px;border-top:1px solid #d8e3ef;padding-top:12px}
.madeley-why-v32 .why-compact-heading{margin-top:48px;margin-bottom:23px}
.madeley-why-v32 .about-tile,.madeley-why-v32 .why-fact{border-radius:14px;box-shadow:0 8px 24px rgba(12,37,61,.055)}
.madeley-why-v32 .why-final-cta{border-radius:18px;overflow:hidden}
@media(max-width:1050px){.v31-trust .container{grid-template-columns:repeat(3,minmax(0,1fr))}.v31-trust .container>div:nth-child(3){border-right:0}.v31-trust .container>div:nth-child(n+4){border-top:1px solid rgba(255,255,255,.2)}}
@media(max-width:760px){.madeley-why-v32 .why-fee-grid.why-fee-grid-three{grid-template-columns:1fr}.v31-trust .container{grid-template-columns:repeat(2,minmax(0,1fr))}.v31-trust .container>div{border-right:0;border-bottom:1px solid rgba(255,255,255,.2)}}
@media(max-width:480px){.v31-trust .container{grid-template-columns:1fr}}

/* v44 contact details */
.madeley-footer-contact{display:flex;flex-wrap:wrap;align-items:center;gap:12px 24px;padding:20px 0;margin:12px 0;border-top:1px solid rgba(255,255,255,.2);border-bottom:1px solid rgba(255,255,255,.2)}
.madeley-footer-contact strong{width:100%;font-size:1rem}.madeley-footer-contact a{color:inherit;text-decoration:underline;text-underline-offset:3px}.madeley-footer-contact a:hover{opacity:.8}
.madeley-contact-email + .madeley-contact-email{margin-top:16px}
