@font-face {
  font-family: Montserrat;
  src: url('/assets/montserrat.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Sora;
  src: url('/assets/sora.woff2') format('woff2');
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
}
:root {
  --ink: #26262c;
  --muted: #76787f;
  --paper: #f3f4f6;
  --blue: #2951d5;
  --teal: #2ccab9;
  --line: #e0e1e6;
}

body { background: var(--paper); color: var(--ink); font-family: Montserrat, Arial, sans-serif; line-height: 1.65; }
h1, h2, h3, h4, .brand { font-family: Sora, Arial, sans-serif; }

/* The live Infinity Grow site uses a restrained header and teal footer links. */
.site-header {
  background: var(--paper);
  border-bottom: 0;
}
.header-inner { max-width: 1240px; min-height: 88px; padding: 16px 20px; }
.brand { font-size: 18px; font-weight: 700; letter-spacing: -.025em; }
.brand small { font-size: 1em; }
.brand img { width: 94px; }
.site-nav { gap: 15px; }
.site-nav a {
  color: #26262c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
}
.site-nav .nav-contact { border: 0; padding: 0; }
.site-nav a:hover,
.site-nav a:focus-visible,
.nav-expand:hover,
.nav-expand:focus-visible { color: var(--blue); }
.site-nav a:focus-visible,
.nav-expand:focus-visible,
.menu-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}
.nav-head { display: flex; align-items: center; gap: 3px; }
.nav-expand {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #26262c;
  cursor: pointer;
  line-height: 1;
}
.nav-expand span { display: block; transition: transform .18s ease; }
.nav-drop.is-open .nav-expand span { transform: rotate(180deg); }
.drop-menu {
  top: 100%;
  left: -14px;
  min-width: 245px;
  margin-top: 0;
  padding: 10px;
  background: #f8f8fa;
  border: 1px solid #e4e5ea;
  box-shadow: 0 16px 32px #2227381c;
  max-height: min(72vh, 620px);
  overflow-y: auto;
  z-index: 30;
}
.nav-drop:hover .drop-menu,
.nav-drop:focus-within .drop-menu { display: none; }
.nav-drop.is-open .drop-menu { display: grid; }
.drop-menu a {
  padding: 10px 11px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .01em;
  text-transform: none;
}
.drop-menu a:hover,
.drop-menu a:focus-visible { background: #eceff8; }

/* The wide geometric hero echoes the current live homepage. */
.hero-home {
  display: block;
  max-width: none;
  min-height: 1135px;
  padding: 330px max(30px, calc((100vw - 1200px) / 2)) 170px;
  background-image: url('/assets/hero-original.svg');
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 2048px auto;
}
.hero-home .hero-content { max-width: 1000px; }
.hero-home h1 { max-width: 1100px; font-size: clamp(64px, 6vw, 92px); letter-spacing: -.055em; line-height: 1.04; margin-bottom: 14px; }
.hero-home .hero-tagline { max-width: 850px; margin: 0 0 26px; font-size: clamp(27px, 2.4vw, 36px); font-weight: 600; letter-spacing: -.035em; line-height: 1.2; }
.hero-home .hero-lead { max-width: 820px; }
.hero-home .hero-graphic { display: none; }
.hero-home .shape-one,
.hero-home .shape-two { display: none; }
.hero-inner {
  display: block;
  max-width: none;
  min-height: 520px;
  padding: 105px max(30px, calc((100vw - 1200px) / 2)) 95px;
}
.hero-inner .hero-content { max-width: 1200px; }
.hero-inner h1 { max-width: 1000px; font-size: clamp(43px, 3.5vw, 58px); letter-spacing: -.035em; }
.hero-inner .hero-lead { max-width: 970px; }
.hero-inner .hero-graphic { display: none; }
.hero-inner .shape-one {
  top: 72px;
  right: 0;
  bottom: auto;
  width: min(27vw, 520px);
  height: 190px;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.hero-inner .shape-two { display: none; }
.path-web { background: #fff; border-top: 5px solid var(--blue); }
.path-research { background: #e7f5f2; border-top: 5px solid var(--teal); }
.path-research > span,
.path-research strong { color: #157e73; }

/* Keep the closing contact section and footer close to the live design. */
.contact-band {
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
  display: block;
  padding: 145px max(30px, calc((100vw - 1200px) / 2)) 75px;
}
.contact-band h2 { max-width: 1050px; }
.contact-band .button { margin-top: 26px; }
.contact-band .eyebrow { color: var(--blue); }
.contact-band p:last-child { color: var(--muted); }
.contact-band .button-light {
  background: transparent;
  border: 1px solid var(--blue);
  color: var(--blue);
}
.contact-band .button-light:hover { background: #e7ebf8; }
.footer { background: #26262c; padding: 0; }
.footer-grid {
  max-width: 1200px;
  min-height: 423px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding: 96px 0 64px;
}
.footer-grid h2 {
  color: #fff;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.footer-grid p { color: #fff; font-size: 16px; line-height: 1.65; }
.footer-grid a { display: block; text-decoration: none; }
.footer-grid > div:not(:first-child) a,
.footer-grid > div:first-child a {
  color: var(--teal);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  margin: 0;
}
.footer-grid a:hover,
.footer-bottom a:hover { color: #fff !important; }
.footer-bottom {
  max-width: none;
  min-height: 160px;
  margin: 0;
  padding: 40px 30px;
  border-top: 1px solid #393940;
  background: #26262c;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: #d1d1d5;
  text-align: center;
}
.footer-bottom a { color: var(--teal); text-decoration: none; }

.security-seal {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding: 24px 28px;
  background: #e8f5f2;
  border: 1px solid #c5e8e0;
  border-left: 5px solid #188b7d;
}
.security-seal::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: #188b7d;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
}
.security-seal strong { color: #145b54; font-size: 18px; }
.security-seal small { display: block; width: 100%; color: #375d58; font-size: 13px; }
#huurrepuu { border-top: 1px solid var(--line); }
#huurrepuu .section-heading { max-width: 880px; }
#huurrepuu .section-heading p:last-child { line-height: 1.7; }

@media (max-width: 1180px) {
  .header-inner { padding: 12px 25px; }
  .menu-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 20px 30px 30px;
    background: #f7f7f9;
    box-shadow: 0 16px 30px #22273822;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav.open { display: flex; }
  .site-nav > a { padding: 14px 0; }
  .nav-drop { border-top: 1px solid #e0e1e6; }
  .nav-head { justify-content: space-between; }
  .nav-head > a { flex: 1; padding: 14px 0; }
  .nav-expand { width: 42px; height: 44px; font-size: 19px; }
  .nav-drop .drop-menu,
  .nav-drop:hover .drop-menu,
  .nav-drop:focus-within .drop-menu {
    display: none;
    position: static;
    min-width: 0;
    max-height: none;
    overflow: visible;
    padding: 0 0 13px 18px;
    margin: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .nav-drop.is-open .drop-menu { display: grid; }
  .drop-menu a { padding: 9px 8px; }
  .footer-grid > div:last-child { grid-column: auto; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 64px; padding: 8px 12px; }
  .brand { gap: 8px; font-size: 16px; }
  .brand img { width: 70px; }
  .hero-home {
    min-height: 700px;
    padding: 20px 23px 155px;
    background-size: 840px auto;
  }
  .hero-home .eyebrow,
  .hero-home .hero-points { display: none; }
  .hero-home .hero-actions { display: grid; gap: 15px; }
  .hero-home .button { width: 100%; justify-content: space-between; }
  .hero-home h1 { font-size: clamp(44px, 11vw, 60px); line-height: 1.08; }
  .hero-home .hero-tagline { font-size: clamp(24px, 6vw, 30px); line-height: 1.22; }
  .hero-inner {
    min-height: 0;
    padding: 75px 23px 105px;
  }
  .hero-inner h1 { font-size: clamp(37px, 9vw, 52px); }
  .hero-inner .shape-one { top: auto; bottom: 0; width: 65%; height: 11%; }
  .path-grid { grid-template-columns: 1fr; }
  .contact-band { padding: 80px 23px 65px; }
  .footer-grid { min-height: 0; grid-template-columns: 1fr; gap: 36px; padding: 66px 25px 60px; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { min-height: 0; margin: 0; padding: 31px 25px; }
  .security-seal { gap: 12px; padding: 20px; }
  .security-seal strong { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .nav-expand span { transition: none; }
}

/* A single services menu keeps the primary navigation readable. */
.header-inner { position: relative; }
.nav-services { position: static; }
.nav-services-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  min-height: 35px;
  padding: 0;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .02em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nav-services-trigger span { font-size: 15px; }
.nav-services .service-mega {
  left: 50%;
  width: min(1030px, calc(100vw - 40px));
  min-width: 0;
  padding: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  transform: translateX(-50%);
}
.service-menu-group { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.service-menu-group .service-menu-title {
  margin-bottom: 8px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal);
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}
.service-menu-group .service-menu-subtitle { margin-top: 13px; }
.service-menu-group a { white-space: normal; line-height: 1.3; }
@media (max-width: 1180px) {
  .nav-services-trigger { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 13px; }
  .nav-services .service-mega,
  .nav-services:hover .service-mega,
  .nav-services:focus-within .service-mega {
    width: 100%;
    transform: none;
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 0 0 15px 12px;
  }
  .service-menu-group .service-menu-title { margin: 0 0 4px; }
}

.service-pricing { border-top: 1px solid var(--line); }
.service-pricing .section-heading { max-width: 820px; }
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.price-card { padding: 27px; background: #fff; border: 1px solid var(--line); }
.price-card h3 { min-height: 46px; margin: 0 0 18px; font-size: 19px; line-height: 1.25; }
.price-card .price-value { margin: 0 0 16px; color: var(--blue); font-family: Sora, Arial, sans-serif; font-size: clamp(20px, 2vw, 28px); font-weight: 800; line-height: 1.2; }
.price-card p:last-child { margin: 0; color: var(--muted); font-size: 14px; }
.price-action { margin-top: 28px; }
.quote-pricing { display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.quote-pricing .section-heading { margin-bottom: 0; }
.quote-pricing .button { flex-shrink: 0; }
@media (max-width: 760px) {
  .price-grid { grid-template-columns: 1fr; }
  .price-card h3 { min-height: 0; }
  .quote-pricing { display: block; }
  .quote-pricing .button { margin-top: 25px; }
}
