@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');

:root {
  --ink: #303b48;
  --muted: #535f6b;
  --accent: #46596c;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; color: var(--ink); background: #edf1f3; font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { outline-offset: 4px; }
:focus-visible { outline: 2px solid #536e7c; }
.process :focus-visible, footer :focus-visible { outline-color: #fff; }
h1, h2, h3, p { margin-top: 0; }
.container { width: min(1200px, calc(100% - 64px)); margin: auto; }

.page-landscape { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.landscape-trees { width: 100%; height: 100%; }
.landscape-tree { fill: #80999b; fill-opacity: .08; stroke: #80999b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: .35; transform-box: fill-box; transform-origin: bottom center; animation: tree-sway 9s ease-in-out infinite alternate; }
.tree-two { animation-duration: 11s; animation-delay: -3s; }
.tree-three { animation-duration: 8s; animation-delay: -2s; }
.falling-leaves { position: fixed; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.leaf { position: absolute; top: -28px; width: 18px; height: 18px; fill: none; stroke: #80999b; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0; animation: leaf-fall 13s linear infinite; }
.leaf-one { left: 8%; --leaf-opacity: .3; animation-delay: -2s; }
.leaf-two { left: 22%; width: 14px; height: 14px; --leaf-opacity: .55; animation-duration: 16s; animation-delay: -6s; }
.leaf-three { left: 35%; width: 12px; height: 12px; --leaf-opacity: .25; animation-duration: 14s; animation-delay: -9s; }
.leaf-four { left: 46%; width: 20px; height: 20px; --leaf-opacity: .45; animation-duration: 17s; animation-delay: -4s; }
.leaf-five { left: 55%; width: 15px; height: 15px; --leaf-opacity: .3; animation-duration: 12s; animation-delay: -8s; }
.leaf-six { left: 64%; width: 22px; height: 22px; --leaf-opacity: .55; animation-duration: 18s; animation-delay: -12s; }
.leaf-seven { left: 75%; width: 13px; height: 13px; --leaf-opacity: .35; animation-duration: 15s; animation-delay: -3s; }
.leaf-eight { left: 86%; width: 19px; height: 19px; --leaf-opacity: .45; animation-duration: 14s; animation-delay: -11s; }
.leaf-nine { left: 95%; width: 15px; height: 15px; --leaf-opacity: .25; animation-duration: 19s; animation-delay: -15s; }

.header { position: sticky; top: 0; z-index: 10; background: #fff; color: var(--ink); border-bottom: 1px solid #dce3e7; transition: box-shadow .3s ease; }
.header.is-scrolled { box-shadow: 0 6px 24px #25313d33; }
.header-inner { height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
nav { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 600; }
.nav-short { display: none; }
nav a { position: relative; padding: 10px 12px; border-radius: 8px; color: var(--ink); white-space: nowrap; transition: background-color .25s ease, color .25s ease; }
nav a:hover, nav a:focus-visible { background: #edf2f4; color: #303b48; }
nav a::after { content: ""; position: absolute; right: 12px; bottom: 5px; left: 12px; height: 2px; border-radius: 2px; background: #708e99; transform: scaleX(0); transition: transform .25s ease; }
nav a:hover::after, nav a:focus-visible::after { transform: scaleX(1); }
.home-link { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; padding: 4px; background: transparent; }
.home-link:hover, .home-link:focus-visible { background: transparent; }
.home-link::after { display: none; }
.home-link img { display: block; width: 50px; height: 50px; object-fit: contain; }
.header-cta { border: 1px solid var(--accent); border-radius: 8px; padding: 13px 18px; font-size: 14px; font-weight: 700; background: var(--accent); color: #fff; white-space: nowrap; transition: background-color .25s ease, border-color .25s ease, transform .25s ease, box-shadow .25s ease; }
.header-cta:hover, .header-cta:focus-visible { background: #344656; border-color: #344656; box-shadow: 0 8px 18px #34465633; transform: translateY(-2px); }
.header-cta span { margin-left: 12px; }

main, footer { position: relative; z-index: 1; }
.hero { background: linear-gradient(110deg, rgba(250, 251, 252, .96), rgba(224, 232, 235, .92)); }
.hero-grid { display: grid; gap: 40px; padding: 55px 0 80px; }
.hero-copy { max-width: 800px; display: flex; flex-direction: column; align-items: flex-start; animation: rise-in .8s backwards; }
.hero-domain { margin-bottom: 20px; }
.region-card { width: min(380px, 100%); display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "map label" "map region"; align-items: center; column-gap: 16px; row-gap: 4px; margin: 0 0 32px; padding: 16px; border: 1px solid #dce3e7; border-radius: 12px; background: #fff; box-shadow: 0 12px 30px #34465612; }
.region-icon { grid-area: map; display: grid; place-items: center; width: 64px; height: 64px; padding: 10px; border-radius: 10px; background: var(--accent); }
.region-icon img { display: block; width: 100%; height: auto; }
.region-label { grid-area: label; align-self: end; color: var(--accent); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.region-text { grid-area: region; align-self: start; color: var(--muted); font-size: 14px; line-height: 1.45; }
.region-card strong { display: block; color: var(--ink); font-size: 16px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent); font-size: 15px; font-weight: 700; }
.dot { width: 8px; height: 8px; background: #708e99; border-radius: 50%; box-shadow: 0 0 0 5px #708e991c; animation: dot-pulse 3s ease-in-out infinite; }
h1, h2 { font-weight: 700; letter-spacing: -.045em; }
h1 { max-width: 780px; font-size: clamp(42px, 5.3vw, 72px); line-height: 1.08; margin: 25px 0; }
.hero-copy h1 { margin-top: 0; }
h1 a, h2 em { color: var(--accent); font-style: normal; }
h1 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.hero-copy > p { max-width: 570px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; margin-top: 20px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 35px; border: 0; border-radius: 6px; padding: 16px 21px; font-weight: 700; font-size: 15px; cursor: pointer; transition: transform .25s ease, background-color .25s ease, box-shadow .25s ease; }
.button-primary { background: var(--accent); color: #fff; }
.button-primary:not(:disabled):hover, .button-primary:focus-visible { background: #344656; box-shadow: 0 9px 20px #34465633; transform: translateY(-2px); }
.button:not(:disabled):active, .header-cta:active { transform: translateY(0); }
.button span, .text-link span, .header-cta span { display: inline-block; transition: transform .25s ease; }
.button:not(:disabled):hover span, .button:focus-visible span, .header-cta:hover span, .header-cta:focus-visible span { transform: translate(4px, -3px); }
.text-link { font-size: 15px; font-weight: 700; }
.text-link span { margin-left: 7px; }
.text-link:hover span, .text-link:focus-visible span { transform: translateY(4px); }
.services-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; color: var(--accent); }
.services-link span { margin: 0; }
.services-link:hover span, .services-link:focus-visible span { transform: translate(4px, -3px); }

.section { padding: 105px 0; }
.services { background: rgba(250, 251, 252, .96); }
.section-heading { margin-bottom: 45px; }
h2 { font-size: clamp(38px, 4vw, 56px); line-height: 1.12; margin: 18px 0 0; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.expertise { background: rgba(231, 238, 240, .94); }
.expertise-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.services-extra { margin-top: 16px; }
.service-card { min-height: 235px; padding: 30px; background: #fff; border: 1px solid #dce3e7; border-radius: 12px; overflow-wrap: break-word; transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #9eb4bc; box-shadow: 0 18px 38px #3446561a; }
.service-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; color: #49696b; background: #e5eeed; border-radius: 12px; margin-bottom: 26px; transition: transform .25s ease; }
.service-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.05); }
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 16px; line-height: 1.6; margin-bottom: 0; }

.process { overflow: hidden; background: #455566; color: #f8fafb; }
.process-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.light { color: #d9e8e8; }
.process h2 em { color: #d9e8e8; }
.process-intro { max-width: 390px; color: #e7eef1; line-height: 1.7; font-size: 17px; margin: 24px 0 30px; }
.button-light { background: #f2f6f7; color: #394858; }
.button-light:hover, .button-light:focus-visible { background: #fff; box-shadow: 0 9px 20px #1b281550; transform: translateY(-2px); }
.steps { border-top: 1px solid #8a9ba8; }
.step { display: grid; grid-template-columns: 45px 1fr; gap: 14px; padding: 24px 0; border-bottom: 1px solid #8a9ba8; transition: padding .25s ease, background-color .25s ease; }
.step:hover { padding-left: 12px; background: #ffffff0a; }
.step > span { font-size: 15px; color: #d9e8e8; font-weight: 700; }
.step h3 { font-size: 19px; margin: 0 0 8px; }
.step p { font-size: 16px; line-height: 1.6; color: #e7eef1; margin: 0; }

.contact-section { background: rgba(231, 238, 240, .94); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
.contact-intro > p { max-width: 435px; color: var(--muted); font-size: 17px; line-height: 1.7; margin: 24px 0 42px; }
.contact-form-link { display: none; color: var(--accent); }
.contact-form-link:hover span, .contact-form-link:focus-visible span { transform: translate(4px, -3px); }
.contact-details { max-width: 450px; border-top: 1px solid #bacbd0; padding-top: 24px; }
.contact-details h3 { font-size: 19px; margin-bottom: 24px; }
.detail { display: grid; grid-template-columns: 150px 1fr; gap: 12px; margin: 18px 0; font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.detail > span:first-child { color: var(--muted); font-weight: 700; }
.detail a { text-decoration: underline; text-underline-offset: 3px; }
.detail a:hover { color: #49696b; }
.detail a:not([href]) { display: none; }
.form-card { scroll-margin-top: 24px; background: #fff; padding: 36px; border: 1px solid #dce3e7; border-radius: 10px; box-shadow: 0 20px 55px #34465620; transition: border-color .25s ease, box-shadow .25s ease; }
.form-card:focus-within { border-color: #829ba8; box-shadow: 0 20px 55px #34465633; }
.form-top { margin-bottom: 26px; }
.form-top h3 { font-size: 24px; letter-spacing: -.03em; margin: 0; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.field label span { color: var(--accent); }
.field small { color: var(--muted); font-size: 14px; font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid #c3ced4; border-radius: 5px; background: #f9fbfc; padding: 13px; color: var(--ink); font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #829ba8; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #5d7886; box-shadow: 0 0 0 3px #8eaebc50; }
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #616d76; }
.form-button { width: 100%; }
.form-button:disabled { opacity: .55; cursor: not-allowed; }
.form-note { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 12px 0 0; }

footer { background: #303c49; color: #e9eef1; padding: 32px 0; }
.footer-inner { display: flex; align-items: center; gap: 25px; font-size: 14px; }
.footer-brand { color: #fff; font-size: 18px; font-weight: 700; }
.footer-inner p { margin: 0; flex: 1; }
.footer-inner > a:not(.footer-brand) { font-weight: 700; }
.footer-inner a { transition: color .25s ease; }
.footer-inner a:hover { color: #d9e8e8; }
.footer-inner small { color: #d8e2e8; font-size: 14px; }

.is-visible { animation: rise-in .65s backwards; }
.service-card:nth-child(2).is-visible, .step:nth-child(2).is-visible { animation-delay: .1s; }
.service-card:nth-child(3).is-visible, .step:nth-child(3).is-visible { animation-delay: .2s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
@keyframes tree-sway { from { transform: rotate(-1deg); } to { transform: rotate(1deg); } }
@keyframes dot-pulse { 50% { box-shadow: 0 0 0 8px #708e990a; } }
@keyframes leaf-fall { 0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(-25deg); } 12% { opacity: var(--leaf-opacity); } 50% { transform: translate3d(18px, 45vh, 0) rotate(100deg); } 85% { opacity: var(--leaf-opacity); } 100% { opacity: 0; transform: translate3d(-8px, 100vh, 0) rotate(220deg); } }

@media (min-width: 1001px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 70px; }
  .hero-copy { grid-column: 1; }
  .hero-grid .form-card { grid-column: 2; grid-row: 1; align-self: start; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; }
  .contact-details { width: 100%; align-self: center; }
  .contact-form-link { display: inline-flex; align-items: center; gap: 8px; }
  .contact-form-link span { margin: 0; }
}
@media (max-width: 1000px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  .header-inner { height: 76px; }
  nav { gap: 2px; }
  .header-cta { display: none; }
  .hero-grid { padding: 55px 0 70px; }
  .process-grid, .contact-grid { gap: 40px; }
  .section { padding: 80px 0; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 75px; }
  .container { width: calc(100% - 36px); }
  .header-inner { width: calc(100% - 24px); height: auto; padding: 8px 0; }
  nav { width: 100%; justify-content: space-between; gap: 0; font-size: 13px; }
  .nav-full { display: none; }
  .nav-short { display: inline; }
  nav a { display: flex; align-items: center; min-height: 44px; padding: 10px 2px; }
  nav .home-link { width: 44px; height: 48px; padding: 2px; }
  .home-link img { width: 40px; height: 40px; }
  .hero-grid { min-height: calc(100vh - 65px); min-height: calc(100svh - 65px); align-content: center; gap: 32px; padding: 36px 0 56px; }
  .hero-copy h1 { font-size: clamp(36px, 9.5vw, 42px); }
  .hero-copy > p { font-size: 17px; }
  .region-card { grid-template-columns: 56px minmax(0, 1fr); column-gap: 12px; padding: 14px; }
  .region-icon { width: 56px; height: 56px; }
  .section { min-height: calc(100vh - 65px); min-height: calc(100svh - 65px); padding: 70px 0; }
  .service-grid, .expertise-grid, .process-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .process-grid, .contact-grid { gap: 45px; }
  .form-card { padding: 24px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .detail { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; margin: 0; border-bottom: 1px solid #c4d2d7; }
  .footer-inner { display: grid; gap: 12px; }
}
