@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Manrope:wght@500;600;700;800&display=swap');

:root {
  --bg: #f4f1ea;
  --surface: #fbf9f5;
  --surface-2: #ebe6dc;
  --ink: #25292d;
  --muted: #666c70;
  --blue: #0f5b78;
  --blue-dark: #0a3e52;
  --blue-deep: #073446;
  --orange: #ed842c;
  --orange-dark: #d9711f;
  --line: #ddd7cc;
  --cream: #f8f3e9;
  --radius-lg: 42px;
  --radius-md: 28px;
  --radius-sm: 18px;
  --shadow: 0 30px 70px rgba(25, 38, 44, .11);
  --font-display: 'Manrope', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.narrow { width: min(830px, 100%); }
.section-pad { padding: clamp(82px, 9vw, 145px) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 18px; top: -100px; z-index: 9999; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 999px; }
.skip-link:focus { top: 18px; }

.site-header { position: fixed; inset: 0 0 auto; z-index: 1000; padding: 19px 0; transition: .25s ease; }
.site-header.is-scrolled { padding: 10px 0; background: rgba(244,241,234,.84); backdrop-filter: blur(18px); border-bottom: 1px solid rgba(37,41,45,.06); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; min-width: max-content; }
.brand .custom-logo { max-height: 50px; width: auto; }
.brand__mark { width: 38px; height: 28px; display: block; position: relative; }
.brand__mark::before, .brand__mark::after { content: ''; position: absolute; left: 1px; width: 34px; height: 7px; border-radius: 100% 5% 100% 5%; transform: rotate(-13deg); }
.brand__mark::before { background: var(--orange); top: 4px; }
.brand__mark::after { background: var(--blue); top: 15px; left: 5px; width: 31px; }
.brand__text { line-height: 1; display: grid; }
.brand__text strong { font-family: var(--font-display); font-size: 22px; letter-spacing: -.8px; font-style: italic; }
.brand__text strong span { color: var(--blue); }
.brand__text small { text-transform: uppercase; letter-spacing: .15em; font-size: 7.5px; color: var(--muted); margin-top: 4px; }
.main-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.main-nav > a:not(.button) { color: #3f4549; position: relative; }
.main-nav > a:not(.button)::after { content: ''; position: absolute; height: 1.5px; background: var(--orange); left: 0; right: 100%; bottom: -7px; transition: .25s ease; }
.main-nav > a:not(.button):hover::after { right: 0; }
.nav-toggle { display: none; border: 0; background: transparent; padding: 8px; }
.nav-toggle > span:not(.sr-only) { display: block; width: 25px; height: 2px; background: var(--ink); margin: 5px; }

.button { min-height: 54px; padding: 0 26px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; border: 1px solid transparent; font-weight: 700; font-size: 14px; transition: transform .22s ease, box-shadow .22s ease, background .22s ease; }
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--orange); color: #fffaf3; box-shadow: 0 12px 30px rgba(237,132,44,.22); }
.button--primary:hover { background: var(--orange-dark); box-shadow: 0 16px 34px rgba(237,132,44,.3); }
.button--small { min-height: 44px; padding-inline: 20px; }
.button--ghost { border-color: rgba(37,41,45,.15); background: rgba(251,249,245,.5); }
.button--ghost:hover { border-color: var(--blue); color: var(--blue); }
.button--light { background: var(--cream); color: var(--blue-deep); }
.button--wide { width: 100%; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--blue); font-weight: 700; margin-top: 16px; }
.text-link span { transition: .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--blue); font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow > span { width: 28px; height: 2px; background: var(--orange); border-radius: 99px; }
.eyebrow--light { color: #dfeff3; }
h1,h2,h3 { font-family: var(--font-display); line-height: 1.06; margin-top: 0; letter-spacing: -.035em; }
h1 { font-size: clamp(48px, 6.2vw, 86px); font-weight: 700; }
h2 { font-size: clamp(38px, 4.4vw, 63px); font-weight: 700; }
h3 { font-size: 24px; }
p { color: var(--muted); }

.hero { min-height: 870px; display: flex; align-items: center; position: relative; overflow: hidden; padding-top: 150px; }
.hero::before { content: ''; position: absolute; width: 62vw; height: 62vw; max-width: 900px; max-height: 900px; background: radial-gradient(circle, rgba(15,91,120,.10), transparent 67%); top: -20vw; right: -16vw; pointer-events: none; }
.hero__orb { position: absolute; border-radius: 50%; filter: blur(1px); opacity: .7; }
.hero__orb--one { width: 170px; height: 170px; background: rgba(237,132,44,.12); left: -70px; bottom: 90px; }
.hero__orb--two { width: 80px; height: 80px; background: rgba(15,91,120,.13); right: 43%; top: 18%; }
.hero__grid { display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: clamp(48px, 7vw, 100px); }
.hero__copy h1 { margin: 22px 0 24px; max-width: 800px; }
.hero__copy h1 em { color: var(--blue); font-style: normal; position: relative; }
.hero__copy h1 em::after { content: ''; position: absolute; height: 11px; left: 2%; right: 0; bottom: 2px; background: rgba(237,132,44,.22); z-index: -1; transform: rotate(-1.5deg); border-radius: 50%; }
.hero__lead { font-size: 18px; max-width: 620px; line-height: 1.75; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.hero__trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 60px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero__trust div { display: grid; gap: 4px; }
.hero__trust strong { font-family: var(--font-display); font-size: 22px; }
.hero__trust span { color: var(--muted); font-size: 12px; line-height: 1.4; }
.hero__visual { position: relative; min-height: 590px; }
.hero-card { position: absolute; }
.hero-card--main { inset: 0 0 28px 20px; border-radius: 52% 30% 48% 24% / 35% 48% 29% 52%; overflow: hidden; box-shadow: var(--shadow); transform: rotate(2deg); background: #d8e0e1; }
.hero-card--main::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,52,70,.22)); }
.hero-card--main img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.035) rotate(-2deg); }
.hero-card--mini { left: -32px; bottom: 18px; background: rgba(251,249,245,.92); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 20px 45px rgba(25,38,44,.13); border-radius: 24px; padding: 17px 20px; display: flex; align-items: center; gap: 12px; max-width: 285px; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: #4ca86d; box-shadow: 0 0 0 6px rgba(76,168,109,.12); flex: 0 0 auto; }
.hero-card--mini div { display: grid; }
.hero-card--mini strong { font-size: 13px; }
.hero-card--mini small { color: var(--muted); font-size: 11px; }
.hero-card--label { right: -14px; top: 80px; background: var(--blue-deep); color: #d9eef4; font-weight: 700; border-radius: 999px; padding: 12px 18px; transform: rotate(5deg); box-shadow: 0 12px 28px rgba(7,52,70,.18); font-size: 12px; }

.logos-strip { padding: 28px 0 42px; }
.logos-strip p { text-align: center; font-size: 11px; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; margin-bottom: 28px; }
.logo-cloud { display: grid; grid-template-columns: repeat(6, 1fr); align-items: center; gap: 36px; padding: 28px 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logo-cloud img { max-height: 42px; max-width: 130px; width: auto; margin: auto; object-fit: contain; filter: grayscale(1); opacity: .55; transition: .25s ease; }
.logo-cloud img:hover { filter: grayscale(0); opacity: 1; }

.section-head { max-width: 850px; margin-bottom: 56px; }
.section-head h2 { margin: 16px 0 18px; }
.section-head p { max-width: 660px; font-size: 17px; }
.section-head--center { text-align: center; margin-inline: auto; }
.section-head--center .eyebrow { justify-content: center; }
.services { position: relative; }
.service-grid { display: grid; grid-template-columns: 1.08fr .92fr; grid-template-areas: 'a b' 'a c' 'd d'; gap: 24px; }
.service-card { background: var(--surface); border: 1px solid rgba(37,41,45,.06); border-radius: var(--radius-lg); overflow: hidden; display: grid; grid-template-columns: .9fr 1.1fr; min-height: 310px; box-shadow: 0 10px 36px rgba(25,38,44,.035); }
.service-card:nth-child(1) { grid-area: a; grid-template-columns: 1fr; }
.service-card:nth-child(2) { grid-area: b; }
.service-card:nth-child(3) { grid-area: c; }
.service-card:nth-child(4) { grid-area: d; grid-template-columns: .95fr 1.05fr; }
.service-card__media { min-height: 260px; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.2,1); }
.service-card:hover .service-card__media img { transform: scale(1.045); }
.service-card__body { padding: 34px; display: flex; flex-direction: column; justify-content: center; }
.service-card__number { font: 700 11px var(--font-display); color: var(--orange); letter-spacing: .1em; margin-bottom: 16px; }
.service-card h3 { font-size: 28px; margin-bottom: 12px; }
.service-card p { margin: 0; }
.service-card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.service-card li { font-size: 13px; color: var(--muted); display: flex; gap: 8px; }
.service-card li::before { content: '•'; color: var(--orange); }

.value-section { background: var(--blue-deep); color: #eff8fa; position: relative; overflow: clip; }
.value-section::before { content: ''; position: absolute; width: 600px; height: 600px; right: -180px; top: -220px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018); }
.value-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; position: relative; }
.value-sticky { position: sticky; top: 130px; }
.value-sticky h2 { margin: 18px 0 22px; font-size: clamp(38px, 4.3vw, 58px); }
.value-sticky p { color: #a9c5ce; font-size: 17px; }
.value-sticky .button { margin-top: 20px; }
.value-list { display: grid; }
.value-item { display: grid; grid-template-columns: 70px 1fr; gap: 25px; padding: 42px 0; border-top: 1px solid rgba(255,255,255,.13); }
.value-item:last-child { border-bottom: 1px solid rgba(255,255,255,.13); }
.value-item > span { color: var(--orange); font: 700 12px var(--font-display); }
.value-item h3 { font-size: 30px; margin-bottom: 10px; }
.value-item p { margin: 0; color: #a9c5ce; }

.about { overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr .95fr; align-items: center; gap: clamp(50px, 8vw, 110px); }
.about__visual { position: relative; min-height: 550px; }
.about__frame { height: 100%; min-height: 550px; border-radius: 35% 18% 30% 17% / 23% 31% 19% 35%; overflow: hidden; box-shadow: var(--shadow); background: #d9e3e5; transform: rotate(-1.2deg); }
.about__frame img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.025) rotate(1.2deg); }
.about__badge { position: absolute; right: -28px; bottom: 22px; width: 145px; height: 145px; border-radius: 50%; background: var(--orange); color: #fff8ef; display: grid; place-content: center; text-align: center; box-shadow: 0 20px 40px rgba(237,132,44,.25); transform: rotate(5deg); }
.about__badge strong { font: 800 38px var(--font-display); line-height: 1; }
.about__badge span { font-size: 11px; margin-top: 4px; }
.about__copy h2 { margin: 18px 0 24px; }
.about__copy p { font-size: 17px; }
.about__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 35px 0 18px; }
.about__facts > div { padding: 18px 4px; border-top: 1px solid var(--line); display: grid; }
.about__facts strong { font: 700 16px var(--font-display); }
.about__facts span { color: var(--muted); font-size: 11px; }

.process { background: var(--surface); }
.process-line { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; margin-top: 30px; }
.process-line::before { content: ''; position: absolute; top: 31px; left: 16.5%; right: 16.5%; height: 1px; background: var(--line); }
.process-step { text-align: center; padding: 0 36px; position: relative; }
.process-step > span { width: 64px; height: 64px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line); display: grid; place-items: center; margin: 0 auto 26px; color: var(--blue); font: 800 14px var(--font-display); position: relative; z-index: 1; }
.process-step h3 { font-size: 23px; margin-bottom: 10px; }
.process-step p { font-size: 14px; }

.testimonials { position: relative; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.testimonial-card { background: var(--surface); padding: 38px; border-radius: 36px 36px 36px 10px; border: 1px solid rgba(37,41,45,.06); min-height: 330px; display: flex; flex-direction: column; box-shadow: 0 18px 50px rgba(25,38,44,.045); }
.testimonial-card--offset { margin-top: 42px; border-radius: 36px 10px 36px 36px; }
.quote-mark { font: 800 70px/1 Georgia, serif; color: rgba(237,132,44,.35); height: 52px; }
.testimonial-card > p { font-size: 16px; line-height: 1.8; color: #4b5155; flex: 1; }
.testimonial-author { display: flex; align-items: center; gap: 13px; margin-top: 25px; padding-top: 20px; border-top: 1px solid var(--line); }
.testimonial-author img { width: 47px; height: 47px; object-fit: contain; border-radius: 14px; background: #fff; padding: 4px; }
.testimonial-author div { display: grid; }
.testimonial-author strong { font-size: 13px; }
.testimonial-author span { color: var(--muted); font-size: 11px; }

.contact-section { background: var(--blue-deep); color: #eff8fa; position: relative; overflow: hidden; }
.contact-section::after { content: ''; position: absolute; width: 430px; height: 430px; border-radius: 50%; background: rgba(237,132,44,.08); left: -220px; bottom: -220px; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; align-items: start; gap: clamp(50px, 8vw, 100px); position: relative; z-index: 1; }
.contact-copy { position: sticky; top: 130px; }
.contact-copy h2 { margin: 18px 0 24px; }
.contact-copy p { color: #a9c5ce; font-size: 17px; }
.contact-phone { display: inline-grid; margin-top: 38px; }
.contact-phone small { color: #a9c5ce; font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }
.contact-phone strong { font: 700 30px var(--font-display); }
.lead-form-shell { background: var(--surface); color: var(--ink); border-radius: 38px 38px 38px 12px; padding: clamp(28px, 4vw, 48px); box-shadow: 0 30px 80px rgba(0,0,0,.14); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 16px; }
.form-grid label { display: grid; gap: 8px; }
.form-grid label > span { font-size: 12px; font-weight: 700; color: #42484c; }
.form-grid__wide { grid-column: 1 / -1; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; border: 1px solid #ded8cf; background: #f7f4ee; color: var(--ink); border-radius: 15px; outline: none; padding: 14px 15px; transition: .2s ease; }
.lead-form input, .lead-form select { height: 51px; }
.lead-form textarea { resize: vertical; min-height: 112px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(15,91,120,.09); background: #fcfaf6; }
.lead-form .button { margin-top: 22px; }
.form-privacy { font-size: 10px; margin: 11px 0 0; text-align: center; }
.hp-field { position: absolute !important; left: -9999px !important; }
.form-notice { padding: 14px 16px; border-radius: 14px; margin-bottom: 18px; font-size: 13px; }
.form-notice--success { background: #e4f3e9; color: #2e6b44; }
.form-notice--error { background: #f8e5df; color: #883f31; }

.site-footer { background: #1f2528; color: #e7e5df; padding: 70px 0 24px; }
.site-footer__grid { display: grid; grid-template-columns: 1.25fr .85fr .65fr; gap: 70px; }
.brand--footer .brand__text strong { color: #f3f1ec; }
.brand--footer .brand__text strong span { color: #5babc7; }
.brand--footer .brand__text small { color: #839095; }
.site-footer__intro { max-width: 420px; color: #879297; margin-top: 22px; }
.site-footer h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: #f1ece4; margin-bottom: 18px; }
.site-footer__grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer__grid a:not(.brand), .site-footer__grid p { color: #909b9f; font-size: 13px; margin: 0; }
.site-footer__grid a:hover { color: #fff; }
.site-footer__bottom { margin-top: 58px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; color: #737e82; font-size: 11px; }
.mobile-call { display: none; }

.page-hero { padding-top: 210px; padding-bottom: 95px; }
.page-hero h1 { margin: 18px 0 22px; font-size: clamp(48px, 6vw, 80px); }
.page-hero p { font-size: 18px; max-width: 700px; }
.detail-services { padding-top: 20px; }
.detail-list { display: grid; gap: 26px; }
.detail-card { display: grid; grid-template-columns: 1.03fr .97fr; background: var(--surface); border-radius: 42px; overflow: hidden; min-height: 490px; }
.detail-card--reverse { grid-template-columns: .97fr 1.03fr; }
.detail-card--reverse > div { order: 2; }
.detail-card > div { padding: clamp(36px, 5vw, 68px); align-self: center; }
.detail-card > div > span { color: var(--orange); font: 800 11px var(--font-display); }
.detail-card h2 { font-size: clamp(34px, 4vw, 52px); margin: 16px 0; }
.detail-card img { width: 100%; height: 100%; object-fit: cover; }
.detail-card ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.detail-card li { color: var(--muted); font-size: 13px; padding-left: 18px; position: relative; }
.detail-card li::before { content: '•'; color: var(--orange); position: absolute; left: 0; }
.simple-cta { padding-top: 35px; }
.simple-cta__inner { background: var(--blue-deep); color: #eff8fa; padding: clamp(36px, 6vw, 72px); border-radius: 50px 16px 50px 50px; display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.simple-cta__inner span { color: #a9c5ce; font-size: 12px; text-transform: uppercase; letter-spacing: .11em; }
.simple-cta__inner h2 { font-size: clamp(31px, 4vw, 49px); margin: 9px 0 0; max-width: 680px; }
.about-story { padding-top: 20px; }
.about__copy blockquote { margin: 34px 0 0; padding: 22px 28px; border-left: 3px solid var(--orange); background: var(--surface); border-radius: 0 20px 20px 0; font: 600 18px/1.6 var(--font-display); }
.principles { background: var(--surface); }
.principle-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.principle-grid article { padding: 38px; border-radius: 30px; background: var(--bg); min-height: 300px; }
.principle-grid span { color: var(--orange); font: 800 11px var(--font-display); text-transform: uppercase; letter-spacing: .1em; }
.principle-grid h3 { font-size: 29px; margin: 52px 0 14px; }
.contact-page { padding-top: 15px; }
.contact-info { display: grid; gap: 20px; }
.contact-info h2 { margin-bottom: 8px; }
.contact-info > a, .contact-info > div { background: var(--surface); border-radius: 24px; padding: 22px; display: grid; }
.contact-info small { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; font-size: 10px; }
.contact-info strong { font: 700 20px var(--font-display); margin-top: 4px; }
.contact-info p { margin: 5px 0 0; }
.generic-page { padding-top: 170px; min-height: 75vh; }
.content-card { background: var(--surface); padding: clamp(28px, 5vw, 60px); border-radius: 36px; margin-bottom: 24px; }
.content-card h1 { font-size: clamp(42px, 5vw, 70px); }
.error-card { text-align: center; padding-block: 90px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal--delay { transition-delay: .12s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1020px) {
  .main-nav { gap: 18px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__copy { max-width: 780px; }
  .hero__visual { min-height: 520px; max-width: 760px; width: 100%; margin: 0 auto; }
  .hero-card--main { left: 0; }
  .hero__trust { max-width: 680px; }
  .logo-cloud { grid-template-columns: repeat(3, 1fr); }
  .service-grid { grid-template-columns: 1fr; grid-template-areas: 'a' 'b' 'c' 'd'; }
  .service-card:nth-child(n) { grid-template-columns: .9fr 1.1fr; }
  .value-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 58px; }
  .value-sticky, .contact-copy { position: static; }
  .about__visual { max-width: 760px; width: 100%; }
  .testimonial-grid { grid-template-columns: 1fr 1fr; }
  .testimonial-card--offset { margin-top: 0; }
  .testimonial-card:last-child { grid-column: 1/-1; width: calc(50% - 12px); justify-self: center; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .detail-card, .detail-card--reverse { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 780px) {
  .container { width: min(100% - 30px, 1180px); }
  .section-pad { padding: 78px 0; }
  .site-header { padding: 12px 0; background: rgba(244,241,234,.86); backdrop-filter: blur(18px); }
  .brand__text strong { font-size: 20px; }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 72px 15px auto; background: rgba(251,249,245,.98); border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); padding: 24px; display: none; flex-direction: column; align-items: stretch; gap: 7px; }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 11px 12px; }
  .main-nav .button { margin-top: 8px; }
  .hero { min-height: auto; padding-top: 135px; }
  h1 { font-size: clamp(45px, 13vw, 66px); }
  h2 { font-size: clamp(36px, 10vw, 51px); }
  .hero__trust { grid-template-columns: 1fr; gap: 16px; }
  .hero__trust div { grid-template-columns: 95px 1fr; align-items: center; }
  .hero__visual { min-height: 430px; }
  .hero-card--main { inset: 0 0 25px 0; border-radius: 39% 19% 33% 16% / 23% 37% 18% 38%; }
  .hero-card--mini { left: 4px; bottom: 4px; }
  .hero-card--label { right: 4px; top: 35px; }
  .logo-cloud { grid-template-columns: repeat(2, 1fr); gap: 28px; padding-inline: 16px; }
  .service-card:nth-child(n) { grid-template-columns: 1fr; }
  .service-card__media { min-height: 240px; }
  .service-card__body { padding: 28px; }
  .value-item { grid-template-columns: 46px 1fr; }
  .about__visual { min-height: 430px; }
  .about__frame { min-height: 430px; }
  .about__badge { width: 115px; height: 115px; right: -4px; }
  .about__badge strong { font-size: 30px; }
  .about__facts { grid-template-columns: 1fr; }
  .process-line { grid-template-columns: 1fr; gap: 32px; }
  .process-line::before { display: none; }
  .process-step { padding: 0 14px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card:last-child { grid-column: auto; width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid__wide { grid-column: auto; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 38px; }
  .site-footer__bottom { flex-direction: column; gap: 12px; }
  .mobile-call { display: inline-flex; align-items: center; gap: 8px; position: fixed; right: 14px; bottom: 14px; z-index: 1100; background: var(--orange); color: #fff; border-radius: 999px; padding: 13px 18px; font-size: 12px; font-weight: 800; box-shadow: 0 14px 34px rgba(237,132,44,.32); }
  .page-hero { padding-top: 145px; padding-bottom: 55px; }
  .detail-card, .detail-card--reverse { grid-template-columns: 1fr; }
  .detail-card--reverse > div { order: 0; }
  .detail-card img { max-height: 340px; }
  .detail-card ul { grid-template-columns: 1fr; }
  .simple-cta__inner { align-items: flex-start; flex-direction: column; border-radius: 35px 12px 35px 35px; }
  .principle-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* v1.1 — identidade oficial + central de contato */
.brand--image { min-width: 0; display: inline-flex; align-items: center; }
.brand--image > img { width: auto; height: 58px; object-fit: contain; }
.brand-footer-badge { display: inline-flex; align-items: center; background: var(--cream); padding: 10px 15px; border-radius: 18px; }
.brand-footer-badge img { width: auto; height: 56px; object-fit: contain; }

.contact-hub {
  background: var(--surface);
  color: var(--ink);
  border-radius: 38px 38px 38px 12px;
  padding: clamp(22px, 3.5vw, 42px);
  box-shadow: 0 30px 80px rgba(0,0,0,.14);
  border: 1px solid rgba(37,41,45,.05);
}
.contact-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 30px;
  padding: 6px;
  background: #eee9df;
  border-radius: 22px;
}
.contact-tab {
  min-height: 48px;
  border: 0;
  border-radius: 16px;
  padding: 10px 14px;
  background: transparent;
  color: #5e6569;
  font: 700 12px var(--font-display);
  transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.contact-tab:hover { color: var(--blue-deep); }
.contact-tab.is-active {
  background: var(--blue-deep);
  color: #f7fbfc;
  box-shadow: 0 8px 20px rgba(7,52,70,.16);
}
.contact-panel[hidden] { display: none !important; }
.contact-panel__head { margin-bottom: 26px; }
.contact-panel__head > span {
  display: inline-block;
  color: var(--orange-dark);
  font: 800 10px var(--font-display);
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 9px;
}
.contact-panel__head h3 { font-size: clamp(25px, 3vw, 34px); margin: 0 0 9px; }
.contact-panel__head p { margin: 0; max-width: 590px; font-size: 14px; }
.contact-hub .form-notice { margin: 0 0 24px; }
.lead-form input[type="file"] { height: auto; min-height: 51px; padding: 11px 13px; }
.lead-form input[type="file"]::file-selector-button {
  border: 0;
  border-radius: 999px;
  background: #e5e0d7;
  color: var(--ink);
  font: 700 11px var(--font-display);
  padding: 8px 12px;
  margin-right: 10px;
  cursor: pointer;
}
.contact-grid--page { align-items: start; }
.contact-page .contact-hub { box-shadow: 0 28px 65px rgba(25,38,44,.08); }

@media (max-width: 780px) {
  .brand--image > img { height: 48px; }
  .brand-footer-badge img { height: 52px; }
  .contact-hub { padding: 20px 16px 24px; border-radius: 28px 28px 28px 10px; }
  .contact-tabs { grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 24px; border-radius: 18px; }
  .contact-tab { min-height: 46px; padding: 9px 8px; font-size: 10.5px; }
  .contact-panel__head h3 { font-size: 27px; }
}


/* v1.2 — footer completo + logo integrada ao fundo escuro */
.site-footer {
  background: #1f2528;
  color: #e7e5df;
  padding: 76px 0 24px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr .65fr;
  gap: clamp(42px, 6vw, 86px);
  align-items: start;
}
.site-footer__brand,
.site-footer__contact,
.site-footer__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.brand--footer {
  padding: 0;
  background: transparent;
  border: 0;
}
.brand--footer > img {
  width: auto;
  height: 64px;
  object-fit: contain;
  filter: grayscale(1) brightness(0) invert(1);
  opacity: .94;
}
.site-footer__intro {
  max-width: 390px;
  color: #939da1;
  margin: 24px 0 0;
  font-size: 13px;
  line-height: 1.75;
}
.site-footer h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #f1ece4;
  margin: 2px 0 20px;
}
.footer-contact-list {
  display: grid;
  gap: 15px;
  width: 100%;
}
.footer-contact-list > a,
.footer-contact-list > div {
  display: grid;
  gap: 2px;
}
.footer-contact-list span,
.footer-departments > a span,
.footer-departments__title {
  color: #78858a;
  font-size: 10px;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: .09em;
  font-weight: 700;
}
.footer-contact-list strong,
.footer-departments > a strong {
  color: #b3bdc1;
  font-size: 12px;
  line-height: 1.55;
  font-weight: 500;
}
.footer-contact-list a:hover strong,
.footer-departments a:hover strong {
  color: #fff;
}
.footer-departments {
  width: 100%;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
}
.footer-departments__title {
  grid-column: 1 / -1;
  color: #f1ece4;
  margin-bottom: 2px;
}
.footer-departments > a {
  min-width: 0;
  display: grid;
  gap: 3px;
}
.footer-departments > a strong {
  overflow-wrap: anywhere;
}
.site-footer__links {
  gap: 10px;
}
.site-footer__links a {
  color: #939da1;
  font-size: 13px;
  transition: color .2s ease, transform .2s ease;
}
.site-footer__links a:hover {
  color: #fff;
  transform: translateX(3px);
}
.site-footer__bottom {
  margin-top: 60px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #737e82;
  font-size: 11px;
}
.site-footer__bottom a:hover { color: #fff; }

@media (max-width: 1020px) {
  .site-footer__grid { grid-template-columns: 1fr 1.25fr; }
  .site-footer__links { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 12px 24px; }
  .site-footer__links h3 { width: 100%; margin-bottom: 4px; }
}

@media (max-width: 780px) {
  .site-footer { padding-top: 62px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 42px; }
  .site-footer__links { grid-column: auto; flex-direction: column; gap: 10px; }
  .brand--footer > img { height: 56px; }
  .footer-departments { grid-template-columns: 1fr; }
  .footer-departments__title { grid-column: auto; }
  .site-footer__bottom { flex-direction: column; gap: 10px; margin-top: 48px; }
}


/* v1.3 — footer: e-mail geral público + créditos Thelus Sistemas */
.site-footer__credits {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-footer__credits span {
  color: #737e82;
}
.site-footer__credits strong {
  color: #aab3b6;
  font-weight: 700;
}
@media (max-width: 780px) {
  .site-footer__credits {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

/* CORREÇÃO RESPONSIVIDADE MOBILE */

@media (max-width: 780px) {

    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .container {
        width: calc(100% - 30px);
        max-width: 100%;
    }

    /* Impede que elementos dos grids ultrapassem a tela */
    .hero__grid,
    .value-grid,
    .about-grid,
    .contact-grid,
    .site-footer__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero__grid > *,
    .value-grid > *,
    .about-grid > *,
    .contact-grid > *,
    .site-footer__grid > * {
        min-width: 0;
        max-width: 100%;
    }

    /* Formulário */
    .contact-hub,
    .lead-form-shell,
    .lead-form,
    .form-grid {
        min-width: 0;
        max-width: 100%;
    }

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

    .lead-form input,
    .lead-form select,
    .lead-form textarea {
        min-width: 0;
        max-width: 100%;
    }

    /* Textos longos */
    h1, h2, h3, p {
        overflow-wrap: break-word;
    }

    /* Imagens */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Rodapé */
    .site-footer {
        width: 100%;
        max-width: 100%;
    }
}
