:root {
  font-family: Poppins, Arial, sans-serif;
  color: #091a3e;
  background: #f7f9ff;
  font-synthesis: none;
  scroll-behavior: smooth;
  --cobalt: #0750ec;
  --cobalt-deep: #0339ba;
  --lemon: #ffeb36;
  --ink: #091a3e;
}

* { box-sizing: border-box; }
body { margin: 0; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible { outline: 3px solid #ffe83b; outline-offset: 5px; }
.wrap { width: min(100% - 9.4%, 1260px); margin-inline: auto; }
.yellow-dot { color: #ffeb32; }
.mobile-break { display: none; }

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  min-height: 100vh;
  min-height: 100dvh;
  background: radial-gradient(ellipse at 50% 42%, #246bff 0%, #0d57f5 40%, #0548e6 76%, #043bbd 100%);
}
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; pointer-events: none; background: radial-gradient(circle at 13% 20%, #79a7ff33 0, transparent 28%), radial-gradient(circle at 87% 70%, #001f872e 0, transparent 33%), linear-gradient(155deg, #ffffff0c, transparent 40%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -390px; top: 115px; border: 1px solid #ffffff24; border-radius: 50%; box-shadow: 0 0 0 110px #ffffff08, 0 0 0 220px #ffffff05; pointer-events: none; }
.hero .site-header { position: absolute; top: 0; left: 0; right: 0; }
.site-header { min-height: 130px; display: flex; align-items: flex-start; justify-content: space-between; padding-top: 37px; gap: 24px; border-bottom: 1px solid #ffffff16; }
.brand { --logo-scale: 1; display: block; position: relative; width: calc(226px * var(--logo-scale)); height: calc(48px * var(--logo-scale)); flex: none; overflow: hidden; line-height: 0; }
.logo-filter { position: absolute; pointer-events: none; }
.brand img { display: block; position: absolute; top: calc(-50px * var(--logo-scale)); left: calc(-27px * var(--logo-scale)); width: calc(273px * var(--logo-scale)); max-width: none; height: calc(154px * var(--logo-scale)); filter: url(#remove-logo-blue); }
.main-nav { display: flex; align-items: center; gap: clamp(28px, 5.6vw, 64px); padding-top: 14px; font-size: 16px; font-weight: 500; }
.main-nav a, .text-button { transition: opacity .2s, transform .2s; }
.main-nav a:hover, .text-button:hover { opacity: .85; transform: translateY(-2px); }
.instagram-link { display: inline-flex; align-items: center; }
.instagram-link svg { display: none; width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.8; }
.text-button { padding: 0; border: 0; color: inherit; background: none; }
.nav-consultation { font-weight: 600; white-space: nowrap; }
.nav-consultation span { margin-left: 5px; font-size: 24px; line-height: 0; vertical-align: -2px; }
.hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero h1 { margin: 0; font-size: clamp(4rem, 9vw, 6.25rem); line-height: .91; letter-spacing: -.067em; font-weight: 800; text-shadow: 0 12px 34px #002b9b40; }
.hero-content p { max-width: 850px; margin: 29px 0 29px; font-size: clamp(1.2rem, 2.45vw, 1.65rem); line-height: 1.35; font-weight: 400; letter-spacing: .005em; color: #f3f7ff; text-shadow: 0 3px 15px #003cb830; }
.primary-button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; border: 1px solid #fff49c; background: linear-gradient(160deg, #fff264 0%, #ffeb36 49%, #ffdc20 100%); color: #071738; font-weight: 700; letter-spacing: -.047em; box-shadow: inset 0 2px 0 #ffffff9e, 0 16px 32px #072d9f4d; transition: transform .22s ease, box-shadow .22s ease, filter .22s ease; }
.primary-button:hover { transform: translateY(-4px); box-shadow: inset 0 2px 0 #ffffffbd, 0 21px 40px #061f815e; filter: brightness(1.035); }
.primary-button:active { transform: translateY(0); box-shadow: inset 0 2px 0 #ffffff9e, 0 7px 16px #061f8140; }
.hero-button { width: min(700px, 100%); min-height: 106px; border-radius: 100px; font-size: clamp(1.55rem, 3.15vw, 2.1rem); }
.button-arrow { font-size: 1.35em; font-weight: 500; line-height: 0; margin-top: -3px; }
.primary-button .button-arrow, .footer-button span { display: inline-block; transition: transform .22s ease; }
.primary-button:hover .button-arrow, .footer-button:hover span { transform: translateX(6px); }
.scroll-cue { position: absolute; bottom: clamp(10px, 2vh, 20px); left: 50%; display: grid; place-items: center; width: 44px; height: 44px; color: #fff; opacity: .72; transform: translateX(-50%); transition: opacity .2s ease, transform .2s ease; }
.scroll-cue:hover { opacity: 1; transform: translate(-50%, 3px); }
.scroll-cue svg { width: 19px; height: 19px; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.services { position: relative; padding: 34px 0 38px; background: radial-gradient(circle at 14% 8%, #ffffff 0, transparent 27%), linear-gradient(145deg, #f7faff 0%, #edf3ff 100%); }
.eyebrow { margin: 0; color: #064cea; text-transform: uppercase; font-size: 14px; line-height: 1.3; letter-spacing: .31em; font-weight: 700; }
.services h2 { max-width: 1040px; margin: 0 0 25px; font-size: clamp(2.7rem, 5.1vw, 3.8rem); line-height: 1.05; letter-spacing: -.067em; font-weight: 800; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.service-card { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-height: 420px; padding: 24px 38px 18px; border: 1px solid #ffffff; border-radius: 22px; background: linear-gradient(155deg, #ffffff 0%, #ffffff 57%, #f8faff 100%); box-shadow: 0 20px 42px #143b8b12, 0 3px 10px #16327508; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover { transform: translateY(-5px); box-shadow: 0 28px 52px #143b8b20, 0 6px 14px #16327510; }
.service-card:focus-within { outline: 3px solid #0750ec; outline-offset: 4px; }
.card-hit-area { position: absolute; z-index: 2; inset: 0; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.card-hit-area:focus-visible { outline: none; }
.service-card-content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; width: 100%; }
.service-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 22px 22px 0 0; background: linear-gradient(90deg, #0750ee, #5c8dff 70%, #ffeb36); opacity: .82; }
.service-icon { position: relative; height: 112px; width: 130px; flex: none; filter: drop-shadow(0 8px 10px #0b4de326); }
.service-icon-svg { width: 148px; overflow: visible; }
.campaign-icon { display: flex; align-items: flex-end; gap: 5px; padding-bottom: 12px; }
.campaign-icon i { display: block; width: 30px; background: #0750ee; border-radius: 2px 2px 0 0; }
.campaign-icon i:nth-child(1) { height: 40px; }.campaign-icon i:nth-child(2) { height: 67px; }.campaign-icon i:nth-child(3) { height: 92px; }
.campaign-icon span { position: absolute; left: 100px; top: 29px; width: 48px; height: 48px; background: #ffeb36; border-radius: 50%; }
.service-card h3 { min-height: 2.08em; margin: 3px 0 12px; font-size: clamp(1.4rem, 2.45vw, 1.95rem); line-height: 1.04; letter-spacing: -.055em; font-weight: 700; }
.service-card p { margin: 0 0 15px; color: #536485; font-size: clamp(1rem, 1.7vw, 1.24rem); line-height: 1.26; letter-spacing: -.025em; }
.card-arrow { display: grid; place-items: center; width: 55px; height: 55px; margin-top: auto; border: 1px solid #dce7ff; border-radius: 50%; background: linear-gradient(145deg, #fff, #edf3ff); color: #091a3e; font-size: 34px; line-height: 1; box-shadow: 0 7px 14px #214f9c16; transition: background .18s, transform .18s, box-shadow .18s; }
.service-card:hover .card-arrow { background: #ffeb36; transform: translateX(4px); box-shadow: 0 10px 18px #214f9c26; }

.site-footer { background: radial-gradient(circle at 82% 20%, #234379 0, transparent 39%), linear-gradient(115deg, #102448, #071831); color: white; }
.footer-cta { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding: 27px 0 23px; }
.footer-cta h2 { margin: 0; font-size: clamp(1.7rem, 3.6vw, 2.45rem); line-height: .95; letter-spacing: -.06em; }
.footer-button { min-height: 53px; padding: 0 30px; border-radius: 17px; font-size: 16px; letter-spacing: -.045em; white-space: nowrap; }
.footer-button span { font-size: 26px; line-height: 0; font-weight: 400; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 68px; border-top: 1px solid #ffffff40; }
.footer-brand { --logo-scale: .5; }
.footer-bottom nav { display: flex; align-items: center; gap: clamp(22px, 4vw, 52px); font-size: 12px; }
.footer-bottom nav a:hover { text-decoration: underline; }

.info-dialog { width: calc(100vw - 64px); max-width: none; height: calc(100dvh - 64px); max-height: none; padding: clamp(36px, 7vw, 110px); overflow: auto; border: 1px solid #ffffff; border-radius: 24px; color: #091a3e; background: linear-gradient(155deg, #fff, #f7faff); box-shadow: 0 24px 100px #06153b66; }
.info-dialog[open] { display: flex; flex-direction: column; justify-content: safe center; align-items: flex-start; }
.info-dialog::backdrop { background: #071c4cc4; backdrop-filter: blur(5px); }
.info-dialog h2 { max-width: 1000px; margin: 18px 0 24px; font-size: clamp(3rem, 7vw, 7rem); line-height: 1.02; letter-spacing: -.06em; }
.info-dialog > p:not(.eyebrow) { max-width: 900px; margin: 0; color: #536485; font-size: clamp(1.25rem, 2.2vw, 2rem); line-height: 1.45; }
.dialog-close { position: absolute; top: 28px; right: 36px; border: 0; background: none; color: #091a3e; font-size: 46px; line-height: 1; }
.dialog-action { display: inline-flex; gap: 12px; align-items: center; margin-top: 30px; padding: 13px 22px; border: 0; border-radius: 100px; background: #ffeb36; color: #091a3e; font-weight: 700; }
.dialog-action:hover { background: #fff044; }

@media (min-width: 721px) and (max-height: 760px) {
  .site-header { min-height: 105px; padding-top: 24px; }
  .hero-content p { margin-top: 20px; margin-bottom: 23px; }
  .hero-button { min-height: 90px; }
}

@media (max-width: 720px) {
  .wrap { width: min(100% - 40px, 560px); }
  .hero { min-height: 100vh; min-height: 100dvh; }
  .site-header { min-height: 130px; padding-top: 28px; align-items: flex-start; }
  .brand { --logo-scale: .67; }
  .main-nav { gap: 18px; padding-top: 7px; font-size: 13px; }
  .nav-consultation { max-width: 118px; line-height: 1.2; text-align: right; white-space: normal; }
  .nav-consultation span { display: none; }
  .hero h1 { font-size: clamp(3rem, 10vw, 4.2rem); }
  .mobile-break { display: inline; }
  .hero-content p { margin-top: 28px; font-size: clamp(1.15rem, 4vw, 1.55rem); }
  .hero-button { min-height: 78px; margin-top: 10px; font-size: clamp(1.3rem, 5vw, 1.9rem); }
  .services { padding: 48px 0; }
  .services h2 { margin-top: 0; }
  .desktop-break { display: none; }
  .service-grid { grid-template-columns: 1fr; gap: 14px; }
  .service-card { min-height: 320px; padding: 24px 28px; }
  .service-card h3 { min-height: 0; }
  .footer-cta { align-items: flex-start; flex-direction: column; padding: 32px 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; padding: 20px 0 30px; }
  .footer-bottom nav { flex-wrap: wrap; gap: 17px 26px; }
}

@media (max-width: 390px) {
  .wrap { width: calc(100% - 30px); }
  .site-header { gap: 12px; }
  .brand { --logo-scale: .6; }
  .main-nav { gap: 8px; font-size: 11px; }
  .instagram-label { display: none; }
  .instagram-link svg { display: block; }
  .nav-consultation { max-width: 95px; }
  .hero h1 { font-size: 3rem; }
  .hero-button { font-size: 1.2rem; }
  .info-dialog { width: calc(100vw - 32px); height: calc(100dvh - 32px); padding: 36px 25px; }
  .dialog-close { top: 15px; right: 20px; }
}

@media (max-width: 350px) {
  .brand { --logo-scale: .5; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
