:root {
  --ink: #102033;
  --muted: #657388;
  --paper: #f7f4ed;
  --surface: #ffffff;
  --line: rgba(16, 32, 51, 0.14);
  --green: #0d6b55;
  --green-dark: #084436;
  --gold: #f4762c;
  --blue: #26469e;
  --red: #de2a28;
  --shadow: 0 22px 70px rgba(16, 32, 51, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.56), transparent 520px),
    var(--paper);
  color: var(--ink);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site-header {
  align-items: center;
  background: rgba(247, 244, 237, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  display: flex;
  justify-content: space-between;
  left: 0;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: border-color 160ms ease, box-shadow 160ms ease;
  z-index: 20;
}

.site-header[data-elevated="true"] {
  border-color: var(--line);
  box-shadow: 0 12px 34px rgba(16, 32, 51, 0.08);
}

.brand {
  align-items: center;
  display: flex;
  min-height: 52px;
}

.brand img {
  height: 56px;
  object-fit: contain;
  width: auto;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 26px;
  font-size: 0.94rem;
  font-weight: 700;
}

.main-nav a {
  color: rgba(16, 32, 51, 0.78);
}

.main-nav a:hover {
  color: var(--blue);
}

.menu-button {
  background: transparent;
  border: 0;
  display: none;
  padding: 8px;
}

.menu-button span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 5px 0;
  width: 24px;
}

.hero {
  display: grid;
  min-height: 94vh;
  overflow: hidden;
  padding: 150px clamp(18px, 5vw, 72px) 48px;
  place-items: end start;
  position: relative;
}

.hero-media,
.hero-overlay {
  inset: 0;
  position: absolute;
}

.hero-media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-overlay {
  background:
    radial-gradient(circle at 72% 30%, rgba(244, 118, 44, 0.34), transparent 28%),
    linear-gradient(90deg, rgba(7, 23, 43, 0.92) 0%, rgba(15, 45, 82, 0.76) 45%, rgba(8, 30, 41, 0.22) 100%),
    linear-gradient(0deg, rgba(8, 30, 41, 0.64), transparent 40%);
}

.hero-content {
  color: #fff;
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  letter-spacing: 0;
  line-height: 0.98;
}

h1 {
  font-size: clamp(3.2rem, 8vw, 7.6rem);
  margin-bottom: 24px;
  max-width: 950px;
}

h2 {
  font-size: clamp(2.15rem, 4.6vw, 4.8rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
}

.hero-content p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  max-width: 680px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
}

.button.primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 32px rgba(38, 70, 158, 0.24);
}

.button.primary:hover {
  background: #16366f;
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
}

.button.soft {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(255, 255, 255, 0.68);
  color: var(--green-dark);
}

.button.dark-soft {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.hero-panel {
  background: rgba(8, 18, 32, 0.78);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  bottom: 34px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.34);
  color: #fff;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  min-width: min(430px, calc(100vw - 36px));
  overflow: hidden;
  padding: 18px;
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  z-index: 2;
}

.panel-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.panel-head span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel-head b {
  background: rgba(35, 162, 229, 0.16);
  border: 1px solid rgba(35, 162, 229, 0.34);
  border-radius: 999px;
  color: #8ddcff;
  font-size: 0.76rem;
  padding: 7px 10px;
}

.risk-map {
  display: grid;
  gap: 12px;
}

.risk-map span {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  display: block;
  height: 36px;
  overflow: hidden;
  position: relative;
}

.risk-map span::before {
  background: linear-gradient(90deg, #23a2e5, #26469e 58%, #f4762c);
  content: "";
  inset: 0 auto 0 0;
  position: absolute;
  width: var(--level);
}

.risk-map b {
  align-items: center;
  display: flex;
  font-size: 0.84rem;
  height: 100%;
  padding-left: 14px;
  position: relative;
  z-index: 1;
}

.panel-metrics {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel-metrics span {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.76rem;
  padding: 12px;
}

.panel-metrics strong {
  color: #fff;
  display: block;
  font-size: 1.45rem;
  line-height: 1;
}

.trust-band {
  background: #fff;
  border-bottom: 1px solid var(--line);
  border-top: 1px solid var(--line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-band div {
  background: #fff;
  padding: 26px clamp(18px, 4vw, 56px);
}

.trust-band strong {
  color: var(--blue);
  display: block;
  font-size: 1rem;
  margin-bottom: 8px;
}

.trust-band span {
  color: var(--muted);
  display: block;
  font-size: 0.94rem;
}

.section,
.split-section,
.app-section,
.quote-section {
  padding: 92px clamp(18px, 5vw, 72px);
}

/* Services intro: imagem + texto lado a lado no desktop */
.services-intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.services-intro-image {
  display: none;
}

.services-intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.services-intro-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}

.services-intro-text h2 {
  margin-bottom: 0;
}

.services-intro-text p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 0;
}

.section-heading {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 0.92fr) minmax(260px, 0.5fr);
  margin-bottom: 34px;
}

.section-heading h2,
.section-heading p:last-child {
  margin-bottom: 0;
}

.section-heading p:last-child {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading.compact {
  display: block;
  max-width: 820px;
}

.service-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-height: 292px;
  padding: 24px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  border-color: rgba(13, 107, 85, 0.34);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-card.is-featured {
  background:
    linear-gradient(145deg, rgba(244, 118, 44, 0.12), transparent 42%),
    var(--blue);
  color: #fff;
}

.service-card p {
  color: var(--muted);
}

.service-card.is-featured p {
  color: rgba(255, 255, 255, 0.78);
}

.icon {
  align-items: center;
  background: rgba(199, 155, 69, 0.18);
  border-radius: 999px;
  color: var(--gold);
  display: inline-flex;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  margin-bottom: 22px;
  width: 44px;
}

.service-pick {
  background: transparent;
  border: 0;
  color: var(--green);
  cursor: pointer;
  font-weight: 900;
  margin-top: auto;
  padding: 0;
  text-align: left;
}

.is-featured .service-pick {
  color: #fff;
}

.tech-section {
  background:
    linear-gradient(120deg, rgba(38, 70, 158, 0.08), transparent 34%),
    #fff;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.76fr) minmax(320px, 0.86fr);
  padding: 96px clamp(18px, 5vw, 72px);
}

.tech-copy {
  max-width: 760px;
}

.tech-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
}

.tech-grid {
  display: grid;
  gap: 14px;
}

.tech-grid article {
  background: #f9fbff;
  border: 1px solid rgba(38, 70, 158, 0.16);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  grid-template-columns: 64px 1fr;
  padding: 20px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.tech-grid article:hover {
  border-color: rgba(244, 118, 44, 0.4);
  box-shadow: 0 18px 50px rgba(38, 70, 158, 0.12);
  transform: translateY(-3px);
}

.tech-grid span {
  align-items: center;
  background: var(--blue);
  border-radius: 8px;
  color: #fff;
  display: flex;
  font-weight: 900;
  grid-row: span 2;
  justify-content: center;
  min-height: 64px;
}

.tech-grid h3,
.tech-grid p {
  margin-bottom: 0;
}

.tech-grid p {
  color: var(--muted);
}

.split-section {
  align-items: center;
  background: #fff;
  display: grid;
  gap: clamp(28px, 5vw, 76px);
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
}

.split-copy p:not(.eyebrow),
.app-copy p,
.quote-intro p {
  color: var(--muted);
  font-size: 1.06rem;
}

.check-list {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.check-list li {
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.split-image {
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.split-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.partners-section {
  background: var(--paper);
}

.partner-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(140px, 1fr));
}

.partner-strip span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 108px;
  padding: 20px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.partner-strip span:hover {
  border-color: rgba(13, 107, 85, 0.28);
  box-shadow: 0 18px 48px rgba(16, 32, 51, 0.1);
  transform: translateY(-3px);
}

.partner-strip img {
  filter: saturate(0.9);
  max-height: 52px;
  max-width: 160px;
  object-fit: contain;
  transition: filter 180ms ease, transform 180ms ease;
}

.partner-strip span:hover img {
  filter: saturate(1.08);
  transform: scale(1.03);
}

.partner-note {
  color: var(--muted);
  font-size: 0.88rem;
  margin: 18px 0 0;
  max-width: 780px;
}

.guidance-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(244, 118, 44, 0.32), transparent 28%),
    linear-gradient(135deg, #08172b 0%, #26469e 52%, #071723 100%);
  color: #fff;
  display: grid;
  gap: clamp(28px, 6vw, 88px);
  grid-template-columns: minmax(0, 0.78fr) minmax(340px, 0.72fr);
  overflow: hidden;
  padding: 104px clamp(18px, 5vw, 72px);
  position: relative;
}

.guidance-section::after {
  border: 1px solid rgba(255, 255, 255, 0.14);
  content: "";
  height: 420px;
  position: absolute;
  right: -120px;
  top: -120px;
  transform: rotate(18deg);
  width: 420px;
}

.guidance-copy {
  max-width: 760px;
  position: relative;
  z-index: 1;
}

.guidance-copy h2 {
  color: #fff;
}

.guidance-copy p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  max-width: 680px;
}

.guidance-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.choice-board {
  display: grid;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.choice-card,
.profile-picker {
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.22);
  padding: 22px;
}

.choice-card {
  background: rgba(255, 255, 255, 0.1);
}

.guided-card {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  transform: translateX(-22px);
}

.warning-card {
  color: rgba(255, 255, 255, 0.86);
  transform: translateX(18px);
}

.choice-label {
  color: var(--gold);
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.choice-card strong {
  display: block;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  line-height: 1.04;
  margin-bottom: 18px;
}

.choice-card ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.choice-card li {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 10px;
}

.guided-card li {
  border-color: rgba(16, 32, 51, 0.12);
  color: var(--muted);
}

.profile-picker {
  background: rgba(8, 20, 30, 0.48);
}

.profile-picker p {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 900;
  margin-bottom: 14px;
}

.profile-buttons {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.profile-buttons button {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  min-height: 44px;
  padding: 10px;
}

.profile-buttons button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #111;
}

.app-section {
  align-items: center;
  background:
    radial-gradient(circle at 18% 22%, rgba(35, 162, 229, 0.22), transparent 28%),
    var(--ink);
  color: #fff;
  display: grid;
  gap: clamp(28px, 7vw, 96px);
  grid-template-columns: minmax(250px, 0.44fr) minmax(0, 0.76fr);
}

.phone-shell {
  background: linear-gradient(145deg, #1f3348, #081522);
  border: 10px solid #05111c;
  border-radius: 42px;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
  margin-inline: auto;
  max-width: 320px;
  padding: 18px;
  width: 100%;
}

.phone-screen {
  background: #f7f4ed;
  border-radius: 30px;
  color: var(--ink);
  min-height: 520px;
  padding: 34px 22px;
}

.status-pill {
  background: rgba(38, 70, 158, 0.14);
  border-radius: 999px;
  color: var(--blue);
  display: inline-flex;
  font-size: 0.8rem;
  font-weight: 900;
  margin-bottom: 54px;
  padding: 8px 12px;
}

.phone-screen strong {
  display: block;
  font-size: 2.1rem;
  line-height: 1;
}

.mini-list {
  display: grid;
  gap: 10px;
  margin-top: 42px;
}

.mini-list span {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  padding: 12px;
}

.mini-list b {
  color: var(--blue);
  font-size: 0.76rem;
}

.app-copy {
  max-width: 760px;
}

.app-copy p {
  color: rgba(255, 255, 255, 0.72);
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.quote-section {
  align-items: start;
  display: grid;
  gap: clamp(28px, 5vw, 72px);
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 0.62fr);
}

.faq-section {
  background: #fff;
}

.faq-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.faq-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}

.faq-grid p {
  color: var(--muted);
  margin-bottom: 0;
}

address {
  border-left: 4px solid var(--gold);
  color: var(--ink);
  font-style: normal;
  margin-top: 32px;
  padding-left: 18px;
}

.quote-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
}

.quote-form label {
  color: rgba(16, 32, 51, 0.82);
  display: grid;
  font-size: 0.86rem;
  font-weight: 900;
  gap: 8px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  background: #fbfaf7;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  min-height: 48px;
  padding: 12px;
}

.quote-form textarea {
  resize: vertical;
}

.quote-form .bot-field {
  height: 0;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  width: 0;
}

.consent {
  align-items: start;
  display: grid !important;
  font-weight: 700 !important;
  gap: 10px !important;
  grid-template-columns: 20px 1fr;
}

.consent input {
  min-height: auto;
  margin-top: 4px;
}

.form-message {
  color: var(--green);
  font-weight: 900;
  margin: 0;
  min-height: 24px;
}

.form-message.is-error {
  color: #9d2d26;
}

.form-submit {
  width: 100%;
}

.site-footer {
  align-items: center;
  background: #07172b;
  color: #fff;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  justify-content: space-between;
  padding: 28px clamp(18px, 5vw, 72px);
}

.site-footer img {
  height: 54px;
  object-fit: contain;
  width: auto;
}

.site-footer span {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  color: var(--gold);
  font-weight: 900;
}

.footer-links {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.legal-nav {
  gap: 18px;
}

.legal-page {
  background:
    linear-gradient(120deg, rgba(38, 70, 158, 0.08), transparent 34%),
    var(--paper);
  padding: 148px clamp(18px, 5vw, 72px) 86px;
}

.legal-document {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 980px;
  padding: clamp(26px, 5vw, 58px);
}

.legal-document h1 {
  color: var(--blue);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  max-width: 820px;
}

.legal-document h2 {
  color: var(--ink);
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  line-height: 1.08;
  margin-top: 34px;
}

.legal-document p,
.legal-document li {
  color: var(--muted);
  font-size: 1.02rem;
}

.legal-document a {
  color: var(--blue);
  font-weight: 900;
}

.legal-document ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}

.legal-updated {
  color: var(--ink) !important;
  font-weight: 900;
}

.cookie-consent {
  align-items: center;
  background: rgba(7, 23, 43, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  bottom: 18px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
  color: #fff;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr auto;
  left: 18px;
  max-width: min(920px, calc(100vw - 36px));
  padding: 18px;
  position: fixed;
  z-index: 40;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent strong {
  display: block;
  margin-bottom: 6px;
}

.cookie-consent p {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 0;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.whatsapp-fab {
  align-items: center;
  background: #25d366;
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
  color: #fff;
  display: flex;
  font-weight: 900;
  height: 58px;
  justify-content: center;
  position: fixed;
  right: 18px;
  width: 58px;
  z-index: 30;
}

@media (min-width: 1121px) {
  .site-header {
    padding-inline: max(56px, calc((100vw - 1280px) / 2));
  }

  .hero {
    align-items: center;
    grid-template-columns: 1fr;
    min-height: 860px;
    padding:
      138px max(56px, calc((100vw - 1280px) / 2)) 72px;
    place-items: center start;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 23, 43, 0.94) 0%, rgba(15, 45, 82, 0.84) 48%, rgba(8, 30, 41, 0.48) 100%),
      linear-gradient(0deg, rgba(8, 30, 41, 0.68), transparent 42%);
  }

  .hero-content {
    align-self: center;
    max-width: 800px;
  }

  .hero-content h1 {
    font-size: clamp(4.45rem, 5.6vw, 6.8rem);
    max-width: 820px;
  }

  .hero-panel {
    display: none;
  }

  .trust-band {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(0, 1fr)
      minmax(0, 1fr);
    padding-inline: max(56px, calc((100vw - 1280px) / 2));
  }

  .trust-band div {
    padding-inline: clamp(28px, 3vw, 46px);
  }

  .section,
  .split-section,
  .tech-section,
  .guidance-section,
  .app-section,
  .quote-section {
    padding-inline: max(56px, calc((100vw - 1280px) / 2));
  }

  .section-heading {
    align-items: end;
    grid-template-columns: minmax(0, 0.88fr) minmax(320px, 0.44fr);
  }

  .services-section .section-heading {
    max-width: 1180px;
  }

  .services-intro {
    flex-direction: row;
    align-items: center;
    gap: 48px;
    margin-bottom: 48px;
  }

  .services-intro-image {
    display: block;
    flex: 0 0 380px;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  }

  .services-intro-text {
    flex: 1;
    gap: 20px;
  }

  .services-intro-text h2 {
    font-size: clamp(2.2rem, 2.8vw, 3rem);
    line-height: 1.15;
  }

  .service-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }

  .service-card {
    grid-column: span 2;
    min-height: 320px;
  }

  .service-card.is-featured {
    grid-column: span 4;
    padding: 34px;
  }

  .service-card.is-featured h3 {
    font-size: clamp(1.9rem, 2.2vw, 2.55rem);
    line-height: 1;
  }

  .service-card:not(.is-featured) {
    padding: 22px 18px;
  }

  .split-section {
    grid-template-columns: minmax(0, 0.9fr) minmax(420px, 0.84fr);
  }

  .split-copy {
    max-width: 650px;
  }

  .tech-section {
    align-items: start;
    grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.82fr);
  }

  .tech-grid article:nth-child(2) {
    transform: translateX(-32px);
  }

  .tech-grid article:nth-child(3) {
    transform: translateX(-64px);
  }

  .tech-grid article:hover {
    transform: translate(-32px, -3px);
  }

  .tech-grid article:first-child:hover {
    transform: translateY(-3px);
  }

  .tech-grid article:nth-child(3):hover {
    transform: translate(-64px, -3px);
  }

  .partner-strip {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .partner-strip span {
    min-height: 116px;
    padding: 18px;
  }

  .partner-strip img {
    max-height: 46px;
    max-width: 128px;
  }

  .guidance-section {
    grid-template-columns: minmax(0, 0.86fr) minmax(420px, 0.72fr);
  }

  .app-section {
    grid-template-columns: minmax(300px, 0.45fr) minmax(0, 0.9fr);
  }

  .quote-section {
    grid-template-columns: minmax(0, 0.78fr) minmax(420px, 0.62fr);
  }
}

@media (max-width: 1120px) {
  .service-grid,
  .partner-strip,
  .faq-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-panel {
    bottom: 20px;
    left: clamp(18px, 5vw, 72px);
    right: auto;
  }
}

@media (max-width: 780px) {
  .site-header {
    min-height: 68px;
  }

  .menu-button {
    display: block;
  }

  .main-nav {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
    display: none;
    left: 18px;
    padding: 16px;
    position: absolute;
    right: 18px;
    top: 76px;
  }

  .main-nav.is-open {
    display: grid;
  }

  .hero {
    min-height: 100vh;
    padding-top: 118px;
  }

  .hero-panel,
  .trust-band,
  .section-heading,
  .split-section,
  .tech-section,
  .guidance-section,
  .app-section,
  .quote-section,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    margin-top: 32px;
    position: relative;
    width: 100%;
  }

  .panel-metrics {
    grid-template-columns: 1fr;
  }

  .service-grid,
  .partner-strip {
    grid-template-columns: 1fr;
  }

  .section,
  .split-section,
  .tech-section,
  .guidance-section,
  .app-section,
  .quote-section {
    padding-block: 64px;
  }

  .guided-card,
  .warning-card {
    transform: none;
  }

  .profile-buttons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cookie-consent {
    grid-template-columns: 1fr;
  }

  .phone-screen {
    min-height: 440px;
  }
}

@media (max-width: 460px) {
  h1 {
    font-size: 3rem;
  }

  .hero-panel {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
