/* ==========================================================================
   ISR Networks — site stylesheet
   Palette and type scale extracted from the previous GoDaddy Website Builder
   rendering so the rebuilt pages match the published design.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Fonts (self-hosted; no external requests)
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/lato-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/lato-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/lato-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/lato-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Lusitana';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/lusitana-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Lusitana';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/lusitana-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   Design tokens — measured from the published GoDaddy rendering
   -------------------------------------------------------------------------- */

:root {
  /* Lusitana is the site's body face; Lato is used only for the H1 display
     headings, which are uppercase with 1px tracking. */
  --font-body: 'Lusitana', Georgia, serif;
  --font-display: 'Lato', arial, sans-serif;

  --color-primary: rgb(105, 155, 206);
  --color-primary-hover: rgb(143, 181, 225);
  --color-primary-edge: rgb(77, 116, 155);

  --color-dark: rgb(22, 22, 22);
  --color-dark-hover: rgb(0, 0, 0);
  --color-dark-edge: rgb(137, 137, 137);
  --color-dark-text: rgb(219, 219, 219);

  --color-text: rgb(27, 27, 27);
  --color-text-muted: rgb(94, 94, 94);
  --color-bg: rgb(255, 255, 255);
  --color-rule: rgb(219, 219, 219);
  --color-field-border: rgb(219, 219, 219);

  --section-pad: 40px;
  --container-pad: 24px;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100vh;
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
}

@media (min-width: 1536px) {
  body {
    font-size: 18px;
  }
}

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

a {
  color: var(--color-primary-edge);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

:focus-visible {
  outline: 2px solid var(--color-primary-edge);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-text);
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.6em;
}

li {
  margin-bottom: 0.35em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--color-dark);
  color: #fff;
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 8px;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

@media (min-width: 1536px) {
  .container {
    max-width: 1280px;
  }
}

.page-main {
  flex: 1 0 auto;
}

.section {
  padding: var(--section-pad) 0;
}

/* --------------------------------------------------------------------------
   Buttons — square, tracked, never uppercase, with a 4px darker bottom edge
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 8px 32px;
  border: 0;
  border-bottom: 4px solid transparent;
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.063em;
  line-height: 1.6;
  text-align: center;
  text-transform: none;
  cursor: pointer;
  transition: background-color 150ms ease;
}

@media (min-width: 1536px) {
  .btn {
    font-size: 18px;
  }
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
}

.btn--primary {
  background-color: var(--color-primary);
  border-bottom-color: var(--color-primary-edge);
  color: rgb(0, 0, 0);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: var(--color-primary-hover);
  color: rgb(0, 0, 0);
}

.btn--dark {
  padding: 4px 16px;
  background-color: var(--color-dark);
  border-bottom-color: var(--color-dark-edge);
  color: var(--color-dark-text);
  font-size: 14px;
}

@media (min-width: 1536px) {
  .btn--dark {
    font-size: 16px;
  }
}

.btn--dark:hover,
.btn--dark:focus-visible {
  background-color: var(--color-dark-hover);
  color: var(--color-dark-text);
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  flex: none;
  background-color: var(--color-bg);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.site-header__logo img {
  height: 49px;
  width: auto;
}

@media (max-width: 1023px) {
  .site-header__logo img {
    height: 40px;
  }
}

.site-nav {
  display: none;
}

@media (min-width: 1024px) {
  .site-nav {
    display: block;
  }
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 34px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav__list li {
  margin: 0;
}

.site-nav__link {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  color: var(--color-text);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.063em;
}

.site-nav__link:hover,
.site-nav__link:focus-visible {
  color: var(--color-primary-edge);
  text-decoration: none;
}

.site-nav__link.is-active {
  border-bottom-color: var(--color-text);
}

/* Hamburger + drawer, below 1024px */

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--color-text);
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.nav-drawer[data-open='true'] {
  display: block;
}

@media (min-width: 1024px) {
  .nav-drawer[data-open='true'] {
    display: none;
  }
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  background: rgba(0, 0, 0, 0.5);
  border: 0;
  cursor: pointer;
}

.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 85vw);
  padding: 16px 24px 24px;
  background: #fff;
  overflow-y: auto;
}

.nav-drawer__close {
  display: block;
  margin-left: auto;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--color-text);
  cursor: pointer;
}

.nav-drawer__close svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.nav-drawer__list {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.nav-drawer__list li {
  margin: 0;
  border-bottom: 1px solid var(--color-rule);
}

.nav-drawer__link {
  display: block;
  padding: 16px 2px;
  color: var(--color-text);
  font-size: 17px;
}

.nav-drawer__link.is-active {
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Home hero — centred stack: rule-underlined title, subtitle, CTA, image
   -------------------------------------------------------------------------- */

.hero {
  padding: var(--section-pad) 0;
  text-align: center;
}

.hero__title {
  max-width: 730px;
  margin: 0 auto;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-text);
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--color-text);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 48px;
  }
}

@media (min-width: 1280px) {
  .hero__title {
    font-size: 62px;
  }
}

@media (min-width: 1536px) {
  .hero__title {
    font-size: 64px;
  }
}

.hero__subtitle {
  max-width: 750px;
  margin: 24px auto 0;
  font-size: 22px;
  color: var(--color-text);
}

@media (min-width: 1536px) {
  .hero__subtitle {
    font-size: 24px;
  }
}

.hero__cta {
  margin-top: 32px;
}

.hero__media {
  margin-top: 40px;
}

.hero__media img {
  width: 100%;
  max-width: 730px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   Interior page banner — left-aligned uppercase title over a full-width rule
   -------------------------------------------------------------------------- */

.page-banner {
  padding-top: var(--section-pad);
}

.page-banner__title {
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-rule);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text);
}

@media (min-width: 1536px) {
  .page-banner__title {
    font-size: 24px;
  }
}

/* --------------------------------------------------------------------------
   Headings inside content
   -------------------------------------------------------------------------- */

.content-heading {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 400;
  color: var(--color-text);
}

@media (min-width: 1536px) {
  .content-heading {
    font-size: 24px;
  }
}

/* --------------------------------------------------------------------------
   Card grid — three across, centred, no borders
   -------------------------------------------------------------------------- */

.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px 40px;
}

@media (min-width: 768px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  text-align: center;
}

.card__media {
  margin-bottom: 24px;
}

/* The published site crops these to circles. */
.card__media img {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
}

/* The original renders every body paragraph with margin:0, so multi-paragraph
   copy reads as continuous lines rather than separated blocks. */
.card__text {
  margin: 0;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Consulting Services — image column left, service list right
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 768px) {
  .split {
    grid-template-columns: 280px 1fr;
    gap: 40px;
  }
}

@media (min-width: 1280px) {
  .split {
    gap: 56px;
  }
}

/* Long-form pages put the text first and the image in a narrow right column. */
.split--text-first {
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .split--text-first {
    grid-template-columns: 1fr 340px;
  }
}

.split__media img {
  width: 100%;
}

.service {
  margin-bottom: 40px;
}

.service:last-child {
  margin-bottom: 0;
}

.service__text {
  margin-bottom: 20px;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Long-form article
   -------------------------------------------------------------------------- */

.article p,
.article li {
  color: var(--color-text-muted);
}

/* Matches the original: paragraphs, subheadings, and lists all sit flush,
   separated only by line-height. */
.article p {
  margin: 0;
}

.article__subheading {
  margin: 0;
  font-size: 1em;
  font-weight: 700;
  color: var(--color-text-muted);
}

.article ul,
.article ol {
  margin: 0 0 0.5em;
}

.article strong {
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */

.form {
  max-width: 720px;
  margin: 0 auto;
}

.form__title {
  margin-bottom: 24px;
  font-size: 22px;
  font-weight: 400;
  text-align: center;
  color: var(--color-text);
}

@media (min-width: 1536px) {
  .form__title {
    font-size: 24px;
  }
}

.field {
  position: relative;
  margin-bottom: 20px;
}

.field__input {
  width: 100%;
  padding: 22px 14px 8px;
  background: var(--color-bg);
  border: 1px solid var(--color-field-border);
  border-radius: 0;
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
}

textarea.field__input {
  padding-top: 26px;
  resize: vertical;
}

.field__input:focus {
  border-color: var(--color-primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(105, 155, 206, 0.25);
}

/* Float label: sits over an empty field and lifts once it has content. The
   input needs a non-empty placeholder to drive :placeholder-shown, so the
   placeholder text itself is made transparent. */
.field__label {
  position: absolute;
  left: 15px;
  top: 14px;
  color: var(--color-text-muted);
  font-size: 16px;
  pointer-events: none;
  transform-origin: left top;
  transition: transform 120ms ease, color 120ms ease;
}

.field__input::placeholder {
  color: transparent;
}

.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label {
  transform: translateY(-9px) scale(0.78);
  color: var(--color-primary-edge);
}

.form__honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__actions {
  margin-top: 24px;
  text-align: center;
}

.form__status {
  margin-top: 20px;
  padding: 14px 16px;
  font-size: 15px;
  text-align: center;
}

.form__status[hidden] {
  display: none;
}

.form__status--success {
  background: rgba(105, 155, 206, 0.14);
  border: 1px solid var(--color-primary);
  color: var(--color-text);
}

.form__status--error {
  background: rgba(180, 60, 60, 0.08);
  border: 1px solid rgb(180, 60, 60);
  color: rgb(120, 30, 30);
}

/* --------------------------------------------------------------------------
   Footer — plain white band, centred copyright
   -------------------------------------------------------------------------- */

.site-footer {
  flex: none;
  padding: var(--section-pad) 0 calc(var(--section-pad) * 2);
  background-color: var(--color-bg);
  text-align: center;
}

.site-footer__copyright {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 16px;
}

@media (min-width: 1536px) {
  .site-footer__copyright {
    font-size: 18px;
  }
}

/* --------------------------------------------------------------------------
   Cookie banner — fixed bottom-right blue card
   -------------------------------------------------------------------------- */

@keyframes opacity-bounce {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  60% {
    transform: translateY(-20%);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Insets rather than width:100% + margin — the latter overflows the viewport
   on narrow screens and widens the whole document. */
.cookie-banner {
  position: fixed;
  right: 24px;
  bottom: 24px;
  left: auto;
  z-index: 50;
  width: min(400px, calc(100vw - 48px));
  padding: 24px;
  background-color: var(--color-primary);
  border-radius: 7px;
  color: rgb(0, 0, 0);
  text-align: left;
  opacity: 0;
  animation-name: opacity-bounce;
  animation-duration: 800ms;
  animation-delay: 400ms;
  animation-fill-mode: forwards;
  animation-timing-function: ease;
}

@media (max-width: 479px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    animation: none;
    opacity: 1;
  }
}

.cookie-banner__title {
  margin: 0;
  padding-bottom: 8px;
  font-size: 22px;
  font-weight: 400;
  color: rgb(0, 0, 0);
}

@media (min-width: 1536px) {
  .cookie-banner__title {
    font-size: 24px;
  }
}

.cookie-banner__text {
  margin: 0;
  color: rgb(0, 0, 0);
  font-size: 16px;
}

.cookie-banner__accept {
  width: 100%;
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.error-page {
  padding: 80px 0;
  text-align: center;
}

.error-page__code {
  margin-bottom: 8px;
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 96px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
}

.error-page__title {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.error-page__text {
  margin-bottom: 32px;
  color: var(--color-text-muted);
}
