:root{color-scheme:light;--ink:#172e29;--paper:#f0f5ee;--accent:#d9f091;font-family:system-ui,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0}header,footer{padding:1.4rem max(5vw,1rem);display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;align-items:center}header{border-bottom:1px solid #bdcdc0}nav{display:flex;gap:1.3rem;flex-wrap:wrap}a{color:inherit;text-underline-offset:.25em}a:focus-visible{outline:2px solid currentColor;outline-offset:4px}.brand{font-weight:800;text-decoration:none}.hero{background:#16352c;color:#f5fff0;padding:clamp(3rem,9vw,8rem) max(5vw,1rem)}h1,h2{font-family:Georgia,serif;font-weight:400;line-height:1.03}h1{font-size:clamp(3rem,8vw,7.5rem);max-width:13ch;margin:0 0 1.5rem;letter-spacing:-.045em}h2{font-size:clamp(1.7rem,4vw,3rem);margin:0 0 1rem}p,li{max-width:60ch;line-height:1.65} .hero p{font-size:1.2rem}.button{display:inline-block;background:var(--accent);color:var(--ink);padding:.8rem 1.25rem;font-weight:700;border-radius:.2rem;margin-top:.7rem}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,16rem),1fr));gap:2rem;padding:3rem max(5vw,1rem)}article{border-top:1px solid #668476;padding-top:1.4rem}footer{border-top:1px solid #bdcdc0} [aria-current=page]{font-weight:750}

:root{color-scheme:dark;--ink:#eef7ff;--paper:#142e50;--accent:#65fbdc}
body{min-height:100vh;display:flex;flex-direction:column}
header,footer{background:#163252;border-color:#38567a}
header{padding-block:1.55rem}
.brand{font-size:1.35rem;letter-spacing:-.05em}
.brand::before{content:"";display:inline-block;width:.65em;height:.65em;margin-right:.6em;transform:rotate(45deg);background:var(--accent)}
nav a{text-decoration:none}
[aria-current=page]{color:var(--accent)}
.hero{display:grid;align-content:center;justify-items:start;min-height:26rem;background:#101e31;padding-block:4.5rem}
.home .hero{min-height:clamp(31rem,73vh,48rem);background:linear-gradient(90deg,#081423 0%,#081423dc 36%,#08142355 73%),url('architecture.webp') center / cover}
h1,h2{font-family:system-ui,sans-serif;font-weight:720;letter-spacing:-.055em}
h1{font-size:clamp(2.8rem,8vw,7.1rem);max-width:13ch}
h2{font-size:clamp(1.45rem,3vw,2.4rem)}
.hero p{margin:0 0 1.15rem;max-width:43ch;color:#e0eaf6}
.button{background:var(--accent);color:#071e21;text-decoration:none;padding:1rem 1.4rem;border-radius:.45rem}
.button:hover{background:#acffef}
.grid{gap:1.4rem}
article{border:1px solid #3c597e;border-radius:.65rem;background:#1a3b61;padding:1.55rem}
article p{color:#c6d6e7;margin-bottom:0}
footer{margin-top:auto;color:#b8cbdc}
@media(max-width:40rem){.home .hero{background-position:62% center}header{gap:1.1rem}.hero{padding-block:3.4rem}}

.brand { display: inline-flex; align-items: center; gap: .75rem; }
.brand::before { content: none; }
.brand img { width: 64px; height: auto; border-radius: .25rem; }
.phones { padding-left: 1.25rem; }
.enquiry { padding: 0 max(5vw, 1rem) 3rem; }
.enquiry form { display: grid; gap: .5rem; max-width: 42rem; }
.enquiry input, .enquiry textarea {
  width: 100%;
  background: #1a3b61;
  color: var(--ink);
  border: 1px solid #71869b;
  border-radius: .35rem;
  padding: .75rem;
  font: inherit;
  margin-bottom: .65rem;
}
.enquiry button { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; }

.brand-wordmark {
  font-size: clamp(1.35rem, 3.2vw, 2.15rem);
  font-weight: 850;
  line-height: 1;
  letter-spacing: .065em;
  text-transform: uppercase;
  color: #f5f8ff;
}
.brand-wordmark > span { color: #f2c779; }
@media (max-width: 24rem) {
  .brand { gap: .55rem; }
  .brand img { width: 50px; }
  .brand-wordmark { letter-spacing: .035em; }
}

.preferences { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; font-size: .9rem; }
.preferences select { font: inherit; margin-inline-start: .25rem; padding: .35rem; }
.preferences a { margin-inline-start: .25rem; }
:root[data-theme="dark"] { --paper: #141414; --ink: #f5f5f5; }
:root[data-theme="dark"] :is(header, footer) { background: #101010; border-color: #3e3e3e; }
:root[data-theme="dark"] :is(article, .enquiry input, .enquiry textarea) { background: #222; border-color: #575757; }
:root[data-theme="dark"] .hero:not(.home .hero, .service-hero) { background: #202020; }
:root[data-theme="white"] { color-scheme: light; --paper: #fff; --ink: #17253a; }
:root[data-theme="white"] :is(header, footer, article, .enquiry input, .enquiry textarea) { background: #fff; border-color: #8593a6; }
:root[data-theme="white"] :is(footer, article p, .brand-wordmark) { color: #17253a; }
:root[data-theme="white"] .brand-wordmark > span { color: #80530c; }
:root[data-theme="white"] [aria-current="page"] { color: #006659; }
:root[data-theme="white"] .hero:not(.home .hero, .service-hero) { background: #edf2f8; color: var(--ink); }
:root[data-theme="white"] .hero:not(.home .hero, .service-hero) p { color: var(--ink); }

.service-links { display: flex; flex-wrap: wrap; gap: .75rem; }
.service-links .service-secondary { background: transparent; color: inherit; outline: 1px solid currentColor; outline-offset: -1px; }
.service-links .service-secondary:focus-visible { outline-offset: 4px; }
.service-group { padding: clamp(2rem, 5vw, 4rem) max(5vw, 1rem); }
.service-group + .service-group { border-top: 1px solid #71869b; }
.service-group .grid { padding: .5rem 0 0; }
.service-group h3 { font-size: clamp(1.15rem, 2vw, 1.45rem); margin: 0 0 .75rem; }
.service-contact p { margin: 0; }

body .hero.service-hero {
  background: linear-gradient(90deg, #081423 0%, #081423eb 33%, #08142336 100%), var(--service-image) right center / cover no-repeat;
  color: #f5f8ff;
  min-height: clamp(26rem, 55vw, 39rem);
}
:root[data-theme] body .hero.service-hero { background: linear-gradient(90deg, #081423 0%, #081423eb 33%, #08142336 100%), var(--service-image) right center / cover no-repeat; color: #f5f8ff; }
:root[data-theme] body .hero.service-hero p { color: #e0eaf6; }
.service-hero h1 { max-width: 20ch; font-size: clamp(2.6rem, 6vw, 5.6rem); }
.service-overview { --service-image: url('services-circuit.webp'); }
.service-individuals { --service-image: url('services-individuals.webp'); }
.service-businesses { --service-image: url('services-businesses-fabio.webp'); }
.service-contact .service-links { align-items: center; }
@media (max-width: 40rem) {
  :root[data-theme] body .hero.service-hero, body .hero.service-hero {
    background-image: linear-gradient(90deg, #081423f0, #0814239e), var(--service-image);
  }
}

/* Shared site header and Contact hero */
header .brand img { width: clamp(72px, 8vw, 100px); }
header .brand-wordmark { font-size: clamp(1.55rem, 3.8vw, 2.6rem); }
header nav { font-size: 1.1rem; }
header .preferences { font-size: 1rem; }
.contact-hero { --service-image: url('contact-office.webp'); }

@media (max-width: 24rem) {
  header .brand img { width: 68px; }
  header .brand-wordmark { font-size: 1.45rem; }
  header nav { gap: .75rem; }
}

.preferences select {
  background-color: #214873;
  color: #eef7ff;
  border: 1px solid #6b8bae;
  border-radius: .3rem;
}
:root[data-theme="dark"] .preferences select {
  background-color: #242424;
  color: #f5f5f5;
  border-color: #818181;
}
:root[data-theme="white"] .preferences select {
  background-color: #fff;
  color: #17253a;
  border-color: #66788c;
}

.finance-gbr { --service-image: url('exchange-gbr.webp'); }
.finance-ita { --service-image: url('exchange-ita.webp'); }
body .hero.finance-hero {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  column-gap: clamp(1rem, 3vw, 3rem);
}
.finance-hero h1 { font-size: clamp(2.4rem, 4.8vw, 4.5rem); }
.finance-hero blockquote {
  margin: 1.5rem 0 0;
  border-left: .2rem solid #f2c779;
  padding-left: 1rem;
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.45;
  max-width: 39ch;
}
.finance-hero figure {
  margin: 0;
  width: 100%;
  padding: clamp(.5rem, 2vw, 1.25rem);
  background: #061423e0;
  border: 1px solid #47728c;
  border-radius: .65rem;
}
.finance-hero figure img { display: block; width: 100%; height: auto; }
.finance-hero figcaption { font-size: .85rem; line-height: 1.5; color: #d6e8fa; }
@media (max-width: 54rem) {
  body .hero.finance-hero { grid-template-columns: 1fr; row-gap: 1.5rem; }
}
