:root {
  --agency-ink: #202a35;
  --agency-body: #465460;
  --agency-dark: #263540;
  --agency-accent: #d9c79c;
  --agency-tint: #f2f5f6;
  --agency-line: #d6dfe4;
  --agency-font: Arial, Helvetica, sans-serif;
  --agency-display: Georgia, 'Times New Roman', serif;
}
body, input, select, button, textarea { font-family: var(--agency-font); }
.content-wrap, .enquiry-inner, .footer-grid, .footer-bottom { width: min(100%, 1160px); margin-inline: auto; }
.site-header, .site-footer { background: var(--agency-dark); color: white; }
.site-header { height: auto; min-height: 84px; gap: 20px 30px; padding: 13px max(24px, calc((100vw - 1160px) / 2)); }
.site-header nav { gap: clamp(20px, 4vw, 52px); margin-inline: auto; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; white-space: nowrap; }
.site-header nav a[aria-current="page"] { color: var(--agency-accent); }
.site-header select { background: #344651; color: white; border: 1px solid #687780; border-radius: 4px; min-height: 44px; padding: 8px; }
.site-header .agent-button { background: var(--agency-accent); color: var(--agency-ink); border-radius: 4px; padding: 14px 20px; }
.site-brand { display: inline-flex; width: max-content; max-width: 100%; align-items: center; gap: 11px; text-decoration: none; color: white; }
.site-brand svg { width: 37px; height: 37px; flex: 0 0 37px; color: var(--agency-accent); }
.site-brand strong { display: block; font: 700 26px/1 var(--agency-display); letter-spacing: .01em; }
.site-brand small { display: block; margin-top: 4px; color: #e4ebee; font: 600 10px/1.35 var(--agency-font); letter-spacing: .045em; }
.site-header a:hover, .site-footer a:hover { text-decoration: underline; text-underline-offset: .24em; }
.agency-home, .about-portfolio { color: var(--agency-body); }
.agency-home p, .who p, .about-hero p, .section-intro, .enquiry-copy p { font-size: clamp(15px, 1.35vw, 17px); line-height: 1.65; }
.agency-home h1, .agency-home h2, .about-hero h1, .who h2, .portfolio-inner>h2, .enquiry-copy h2, .faq-section h2 {
  font-family: var(--agency-display); font-weight: 500; line-height: 1.13; text-wrap: balance;
}
.agency-home h2, .who h2, .portfolio-inner>h2, .enquiry-copy h2, .faq-section h2 { font-size: clamp(27px, 3.35vw, 43px); }
.agency-home h1, .about-hero h1 { font-size: clamp(34px, 5.15vw, 66px); }
.agency-home h2, .agency-home h3, .who h2, .portfolio-inner>h2, .faq-section h2 { color: var(--agency-ink); }
.agency-home h2 { margin: 0 0 18px; }
.agency-home h3 { margin: 0 0 7px; font-size: 17px; line-height: 1.35; }
.agency-home p { margin: 0 0 20px; }
.agency-home .kicker { font: 700 12px/1.4 var(--agency-font); text-transform: uppercase; letter-spacing: .13em; margin: 0 0 12px; color: #495e68; }
.agency-hero {
  padding: clamp(58px, 9vw, 128px) clamp(22px, 5vw, 56px);
  background: linear-gradient(90deg, #17242eea 0%, #17242ecc 36%, #17242e54 77%, #17242e45 100%), url('/assets/home-hero.webp') center 49% / cover;
  color: #f4f6f7;
}
.agency-hero-copy { max-width: 635px; }
.agency-hero .kicker { color: var(--agency-accent); }
.agency-hero h1 { margin: 0 0 19px; color: white; }
.agency-hero-copy>p:not(.kicker) { max-width: 535px; }
.action-row { display: flex; flex-wrap: wrap; gap: 11px 16px; align-items: center; }
.action { display: inline-flex; gap: 10px; justify-content: center; align-items: center; min-height: 46px; padding: 10px 17px; border: 1px solid transparent; border-radius: 4px; font-size: 14px; font-weight: 700; line-height: 1.4; text-decoration: none; }
.action-primary { background: var(--agency-accent); color: var(--agency-ink); }
.action-outline { border-color: #a7b7c1; background: #22313b70; color: white; }
.action-dark { background: var(--agency-dark); color: white; }
.action:hover { filter: brightness(1.14); text-decoration: underline; text-underline-offset: .2em; }
.text-action { display: inline-flex; gap: 8px; align-items: center; min-height: 44px; font-size: 14px; font-weight: 700; color: #334b59; text-underline-offset: .2em; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 8px 19px; list-style: none; padding: 19px 0 0; margin: 26px 0 0; border-top: 1px solid #ffffff45; font-size: 13px; line-height: 1.45; }
.hero-benefits li::before { content: '✓'; color: var(--agency-accent); margin-inline-end: 7px; }
.agency-section { padding: clamp(43px, 6.2vw, 88px) clamp(22px, 5vw, 56px); }
.agency-tint { background: var(--agency-tint); }
.agency-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(23px, 5vw, 80px); align-items: center; }
.agency-photo { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; }
.agency-steps { padding: 0; margin: 22px 0 0; list-style: none; counter-reset: step; }
.agency-steps li { position: relative; counter-increment: step; padding: 10px 0 10px 46px; }
.agency-steps li::before { content: counter(step); position: absolute; inset-inline-start: 0; top: 10px; width: 33px; height: 33px; display: grid; place-items: center; border: 1px solid var(--agency-line); color: #405763; border-radius: 50%; font-size: 13px; font-weight: 700; }
.agency-steps p, .agency-tools p, .agency-cards p { margin-bottom: 0; }
.agency-home .agency-steps p, .agency-home .agency-tools p, .agency-home .agency-cards p { font-size: 15px; }
.agency-roles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 0; margin: 22px 0 0; list-style: none; }
.agency-roles li { display: flex; align-items: center; gap: 9px; padding: 13px; min-height: 52px; background: #fff; border: 1px solid var(--agency-line); border-radius: 4px; font-size: 14px; line-height: 1.45; }
.agency-roles li::before { content: ''; width: 6px; height: 6px; flex: 0 0 6px; background: #586e79; transform: rotate(45deg); }
.agency-roles.compact { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.agency-tools { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 20px; margin: 22px 0 10px; }
.agency-tools article { border-top: 1px solid var(--agency-line); padding-top: 12px; }
.agency-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.agency-cards article { padding: clamp(17px, 2.3vw, 30px); background: #fff; border: 1px solid var(--agency-line); border-radius: 8px; }
.agency-icon { display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 16px; background: var(--agency-tint); border-radius: 6px; color: #415a68; }
.agency-icon svg { width: 24px; height: 24px; }
.market-list { display: flex; gap: 7px; flex-wrap: wrap; list-style: none; padding: 0; margin: 22px 0 0; }
.market-list li { padding: 7px 11px; border: 1px solid var(--agency-line); background: white; border-radius: 20px; font-size: 13px; }
.agency-join { background: var(--agency-dark); color: #e4ebee; padding: clamp(34px, 5vw, 64px) clamp(22px, 5vw, 56px); border-bottom: 1px solid #4c606c; }
.agency-join .content-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px 35px; flex-wrap: wrap; }
.agency-join h2 { color: white; margin-bottom: 10px; }
.agency-join p { margin: 0; }
.about-hero { display: grid; align-content: center; min-height: clamp(360px, 47vw, 575px); padding: clamp(55px, 8vw, 100px) max(24px, calc((100vw - 1100px) / 2)); background: linear-gradient(90deg,#17242ef0,#17242eaa 53%,#17242e3a),var(--hero-image) center 52%/cover; }
.about-hero h1 { max-width: 780px; margin-block: 16px; font-size: clamp(34px, 4.5vw, 58px); }
.about-hero p { max-width: 570px; }
.about-hero .agent-button { justify-self: start; display: inline-flex; align-items: center; min-height: 46px; padding: 10px 17px; border-radius: 4px; background: var(--agency-accent); color: var(--agency-ink); text-decoration: none; }
.about-hero .agent-button:hover { text-decoration: underline; text-underline-offset: .2em; }
.who img { height: auto; aspect-ratio: 4/3; border-radius: 8px; }
.portfolio-inner .section-intro { text-align: center; }
.portfolio-grid figure, .portfolio-wide figure, .capabilities>div, .feature-grid>div { min-width: 0; }
.portfolio-single-row .portfolio-grid, .portfolio-single-row .feature-grid { grid-template-columns: repeat(var(--portfolio-count), minmax(0, 1fr)); align-items: start; }
.portfolio-single-row .feature-grid { align-items: stretch; }
.portfolio-single-row .portfolio-grid img { height: clamp(165px, 20vw, 285px); }
.enquiry { background-color: var(--agency-dark); padding-block: clamp(44px, 6.5vw, 84px); }
.enquiry-copy h2 { color: white; margin: 0 0 15px; }
.enquiry-copy p { margin: 0; text-align: start; color: #f2f5f6; }
#enquiry-form { color: var(--agency-ink); padding: clamp(15px, 2.5vw, 26px); border-radius: 8px; box-shadow: 0 8px 24px #17242e30; }
.form-grid { gap: 14px 12px; }
.form-grid label { display: grid; align-self: start; gap: 5px; font: 700 14px/1.4 var(--agency-font); }
.form-grid input, .form-grid textarea { font: 400 16px/1.45 var(--agency-font); color: var(--agency-ink); border: 1px solid #aebbc3; }
.verification { display: flex; width: auto; min-height: 44px; height: auto; box-shadow: none; padding: 8px 10px; margin: 15px 0; font: 400 14px/1.45 var(--agency-font); }
.verification input { width: 19px; height: 19px; }
.send { font: 700 15px/1.4 var(--agency-font); min-height: 44px; background: var(--agency-dark); border-radius: 4px; }
#form-status { color: var(--agency-body); font: 400 13px/1.5 var(--agency-font); }
.faq-section h2 { margin-bottom: 29px; }
.site-footer { border-top: 2px solid var(--agency-accent); padding: clamp(34px, 5vw, 61px) clamp(22px, 5vw, 56px) 20px; }
.footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px clamp(16px, 3vw, 35px); }
.footer-grid .footer-column { display: grid; grid-template-rows: subgrid; grid-row: span 5; gap: 12px; min-width: 0; }
.footer-brand { min-height: 62px; display: flex; align-items: center; }
.footer-column>a.footer-brand { justify-content: center; }
.footer-logo, .footer-logo.group { display: block; height: 62px; width: 145px; max-width: 100%; margin: 0; object-fit: contain; object-position: center; }
.footer-grid .footer-summary { margin: 0 0 8px; min-height: 0; color: #e6ecef; font-size: 14px; line-height: 1.55; }
.footer-grid .footer-label { margin: 0; font: 700 14px/1.4 var(--agency-font); color: var(--agency-accent); overflow-wrap: anywhere; }
.footer-grid .footer-label a { font: inherit; }
.footer-links, .footer-contact { display: flex; flex-wrap: wrap; gap: 5px 15px; align-items: center; min-height: 53px; padding: 7px 0; border-top: 1px solid #77868d; }
.footer-links a, .footer-contact>a { display: inline-flex; min-height: 35px; align-items: center; font-weight: 700; }
.footer-contact { justify-content: space-between; }
.footer-social { display: flex; flex-wrap: wrap; gap: 5px; }
.footer-social a { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid #80909a; border-radius: 50%; color: #fff; }
.footer-social svg { width: 16px; height: 16px; fill: currentColor; }
.footer-grid .footer-card { min-height: 0; margin: 0; border-radius: 6px; background: #30424e; color: white; border: 1px solid #52646e; }
.footer-grid .footer-card h3 { color: var(--agency-accent); }
.footer-grid .footer-card p { color: #edf1f3; line-height: 1.55; }
.footer-card .footer-cta { display: inline-flex; align-items: center; min-height: 39px; margin-top: 7px; padding: 7px 12px; border: 1px solid var(--agency-accent); border-radius: 4px; text-decoration: none; color: var(--agency-accent); }
.footer-services { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.footer-services li { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 2px 10px; font-size: 12px; line-height: 1.45; }
.footer-services li a { font-size: 12px; overflow-wrap: anywhere; }
.footer-card .subsidiary-logos { background: #fff; border-radius: 4px; display: block; max-height: 117px; object-fit: contain; padding: 6px; }
.footer-bottom { margin-top: 28px; font-size: 12px; line-height: 1.5; }
@media (max-width: 900px) {
  .portfolio-single-row .portfolio-grid, .portfolio-single-row .feature-grid { grid-template-columns: repeat(var(--portfolio-count), minmax(140px, 1fr)); overflow-x: auto; padding: 4px 4px 12px; scroll-snap-type: x proximity; }
  .portfolio-single-row :is(figure,.feature-grid>div) { scroll-snap-align: start; }
}
@media (max-width: 767px) {
  .site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; padding: 12px 18px; }
  .site-header nav { grid-area: 2 / 1; gap: clamp(16px, 6vw, 36px); padding: 0; margin: 0; justify-content: flex-start; }
  .site-header .agent-button { grid-area: 1 / 2; justify-self: end; padding: 12px 10px; }
  .site-header .language { grid-area: 2 / 2; }
  .site-brand { gap: 7px; }
  .site-brand svg { width: 27px; height: 27px; flex-basis: 27px; }
  .site-brand strong { font-size: 22px; }
  .site-brand small { font-size: 9px; }
  .agency-hero { background-image: linear-gradient(90deg,#17242eef,#17242eaf),url('/assets/home-hero.webp'); }
  .agency-split, .agency-cards { grid-template-columns: 1fr; }
  .agency-photo-first { order: 1; }
  .agency-photo { aspect-ratio: 16/10; }
  .agency-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; gap: 25px; }
  .footer-grid .footer-column { grid-row: auto; grid-template-rows: auto; gap: 9px; }
  .footer-brand { min-height: 42px; }
  .footer-column>a.footer-brand { justify-content: flex-start; }
  .footer-logo, .footer-logo.group { height: 51px; }
}
@media (max-width: 370px) {
  .site-header { padding-inline: 12px; }
  .site-header select { max-width: 77px; }
  .agency-tools, .form-grid { grid-template-columns: 1fr; }
  .agency-roles li { padding: 9px; }
}
