/* SB Design Agency — static rebuild of the live WordPress/The7 homepage */

:root {
  --text: #202020;
  --muted: #505050;
  --white: #ffffff;
  --footer: #202020;
  --bottom: #000000;
  --line: #505050;
  --cta-border: #cccccc;
  --cta-btn: rgba(242, 243, 243, 0.9);
  --content: 1180px;
  --page-pad: 50px;
  --font: "Open Sans", Helvetica, Arial, Verdana, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
}

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

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: var(--text);
}

.visually-hidden,
.skip-link {
  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:focus {
  width: auto;
  height: auto;
  margin: 0;
  clip: auto;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 8px 12px;
  background: #000;
  color: #fff;
}

.wrap {
  width: min(var(--content), calc(100% - 80px));
  margin-left: auto;
  margin-right: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: rgba(0, 0, 0, 0.07) 0 0 15px 1px;
}

.top-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1250px;
  margin: 0 auto;
  padding: 10px 40px;
  font-size: 13px;
  line-height: 20px;
}

.top-bar::after {
  content: "";
  position: absolute;
  left: 40px;
  right: 40px;
  bottom: 0;
  height: 0;
  border-bottom: 1px solid var(--line);
}

.top-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #000;
  font-size: 13px;
}

.top-phone svg {
  width: 16px;
  height: 16px;
  color: #25d366;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #d0d0d0;
  border-radius: 100px;
  color: #000;
}

.social-icons a:hover {
  background: #000;
  color: #fff;
  border-color: #000;
}

.social-icons svg {
  width: 14px;
  height: 14px;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  max-width: 1250px;
  margin: 0 auto;
  padding: 14px 40px;
  min-height: 120px;
}

.brand {
  margin-right: auto;
}

.brand img {
  width: 90px;
  height: 91px;
}

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

.site-nav a {
  display: block;
  padding: 4px 5px;
  color: var(--text);
}

.site-nav .nav-list > li > a {
  font-size: 24px;
  font-weight: 600;
  line-height: 28px;
}

.site-nav .nav-list > li > a:hover {
  box-shadow: inset 0 -2px 0 var(--text);
}

.has-sub {
  position: relative;
}

.sub-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  z-index: 20;
}

.has-sub:hover .sub-nav,
.has-sub:focus-within .sub-nav {
  display: block;
}

.sub-nav a {
  padding: 8px 16px;
  white-space: nowrap;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.sub-nav a:hover {
  background: #f5f5f5;
}

.mobile-extra {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 9601;
  background: rgba(17, 17, 17, 0.5);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mobile-panel {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9602;
  width: 330px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  overflow: auto;
  box-sizing: border-box;
  padding: 45px 15px 30px 30px;
  transform: translate3d(-100%, 0, 0);
  transition: transform 0.5s ease;
}

.menu-close {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 2;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  background: #202020;
  color: #fff;
  cursor: pointer;
}

.menu-close span {
  position: absolute;
  left: 6px;
  top: 14px;
  width: 18px;
  height: 2px;
  background: #fff;
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.mobile-extra a {
  display: block;
  padding: 15px 25px 15px 0;
  border-bottom: 1px solid rgba(38, 43, 46, 0.12);
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  text-transform: uppercase;
  color: #262b2e;
}

.mobile-panel-widgets {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-top: 22px;
}

.mobile-panel .btn-contact {
  display: inline-flex;
}

body.is-menu-open {
  overflow: hidden;
}

body.is-menu-open .menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.is-menu-open .mobile-panel {
  transform: translate3d(0, 0, 0);
}

@media (min-width: 1041px) {
  .menu-overlay,
  .mobile-panel,
  .menu-close {
    display: none;
  }
}

@media (max-width: 380px) {
  .menu-close {
    top: 18px;
    right: 18px;
  }
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 20px;
  background: #202020;
  color: #fff;
  font: 800 14px / 18px var(--font);
  border: 1px solid #202020;
}

.btn-contact:hover {
  background: #000;
  color: #fff;
}

.btn-contact svg {
  width: 14px;
  height: 14px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 36px;
  padding: 4px 1px;
  border: 0;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  background: #000;
  color: #fff;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: #fff;
}

/* Hero — Slider Revolution was a single full-width hero slide */

.hero {
  width: 100%;
  height: 600px;
  overflow: hidden;
  background: #f3f3f3;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Intro */

.intro {
  padding: 48px 0 32px;
}

.intro h1 {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 600;
  line-height: 44px;
}

.intro p {
  margin: 0 0 16px;
  max-width: 1150px;
}

/* Service cards */

.services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  display: block;
  position: relative;
  overflow: hidden;
  line-height: 0;
}

.service-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 800 / 581;
  object-fit: cover;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(46, 221, 237, 0.3) 30%, rgba(0, 132, 187, 0.3) 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.service-card:hover::after {
  opacity: 1;
}

/* CTA */

.cta-wrap {
  padding: 32px 0 40px;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 20px 25px 18px;
  border: 1px solid var(--cta-border);
}

.cta-copy h2 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.cta-copy p {
  margin: 0;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 12px 18px 11px;
  background: var(--cta-btn);
  color: var(--text);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 16px;
}

.btn-cta:hover {
  background: #202020;
  color: #fff;
}

.btn-cta svg {
  width: 14px;
  height: 14px;
}

/* Footer */

.site-footer {
  background: var(--footer);
  color: #fff;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  width: min(1250px, calc(100% - 80px));
  margin: 0 auto;
  padding: 50px 0 24px;
}

.site-footer a {
  color: #fff;
}

.widget-title {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 25px;
}

.site-footer p {
  margin: 0 0 14px;
}

.footer-social {
  margin-top: 8px;
}

.footer-social a {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.footer-social a:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-menu a {
  display: block;
  padding: 8px 0 8px 18px;
  position: relative;
  font-weight: 700;
}

.footer-menu a::before {
  content: "›";
  position: absolute;
  left: 0;
  color: #fff;
}

.skills .skill-name {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  margin: 10px 0 4px;
}

.skills .skill {
  height: 7px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  overflow: hidden;
}

.skills .skill-value {
  width: 100%;
  height: 100%;
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.2s ease;
}

.skills.is-inview .skill-value {
  transform: scaleX(1);
}

.skills.is-inview .skill:nth-child(2) .skill-value { transition-delay: 0s; }
.skills.is-inview .skill:nth-child(4) .skill-value { transition-delay: 0.12s; }
.skills.is-inview .skill:nth-child(6) .skill-value { transition-delay: 0.24s; }
.skills.is-inview .skill:nth-child(8) .skill-value { transition-delay: 0.36s; }
.skills.is-inview .skill:nth-child(10) .skill-value { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .skills .skill-value {
    transform: none;
    transition: none;
  }
}

.skill-graphic { background: #00a7d6; }
.skill-web { background: #ca1b54; }
.skill-app { background: #ff840d; }
.skill-digital { background: #f5d802; }
.skill-email { background: #91338b; }

.bottom-bar {
  background: var(--bottom);
}

.bottom-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: min(1250px, calc(100% - 80px));
  margin: 0 auto;
  min-height: 60px;
  padding: 10px 0;
  color: #fff;
  font-size: 14px;
}

.bottom-logo img {
  width: 32px;
  height: 32px;
}

.tagline {
  margin: 0;
}

.site-footer .copyright {
  margin: 0 0 0 auto;
}

.scroll-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #202020;
  color: #fff;
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.scroll-top svg {
  width: 16px;
  height: 16px;
}

/* Responsive */

@media (max-width: 1040px) {
  .wrap,
  .footer-inner,
  .bottom-inner {
    width: calc(100% - 40px);
  }

  .top-bar {
    display: none;
  }

  .header-bar {
    position: relative;
    justify-content: center;
    min-height: 91px;
    padding: 0 20px;
    gap: 0;
  }

  .brand {
    margin-right: 0;
  }

  .brand img {
    width: 90px;
    height: 91px;
  }

  .btn-contact {
    display: none;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 50%;
    left: 10px;
    right: auto;
    transform: translateY(-50%);
  }

  .site-nav {
    display: none;
  }

  .hero {
    height: 360px;
  }
}

@media (max-width: 970px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 800px) {
  .services {
    grid-template-columns: 1fr 1fr;
  }

  .cta-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .bottom-inner {
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }

  .bottom-inner .tagline {
    margin: 0;
  }

  .site-footer .copyright {
    flex-basis: 100%;
    margin: 0;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .services {
    grid-template-columns: 1fr;
  }

  .hero {
    height: 220px;
  }

  .top-bar {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .intro {
    padding-top: 32px;
  }
}

/* Inner pages — layout only; header/footer/nav stay as-is */

.cta-copy h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.btn-cta-outline {
  background: transparent;
  border: 1px solid #333;
  color: #333;
  border-radius: 0;
}

.btn-cta-outline:hover {
  background: #333;
  color: #fff;
}

.intro .page-title {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
}

.intro h2,
.split h2,
.prose h2 {
  margin: 24px 0 12px;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 8px 0 24px;
}

.split img {
  width: 100%;
  border-radius: 4px;
}

.split h2 {
  margin-top: 16px;
}

.include-heading {
  text-align: center;
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
  margin: 16px 0 24px;
}

.include-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding-bottom: 16px;
}

.include-grid h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
}

.include-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.include-grid li {
  padding: 8px 0 8px 14px;
  border-bottom: 1px solid #e5e5e5;
  position: relative;
  font-size: 14px;
  line-height: 22px;
}

.include-grid li::before {
  content: "›";
  position: absolute;
  left: 0;
}

.image-band {
  width: 100%;
  height: 120px;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.image-band-inner {
  position: absolute;
  left: 0;
  right: 0;
  top: -75%;
  height: 250%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}

.band-identity-sketch .image-band-inner { background-image: url("/assets/img/identity-color-pencil-sketch.jpg"); }
.band-logo-sketchbook .image-band-inner { background-image: url("/assets/img/logo-sketchbook.jpg"); }
.band-developer-strategy .image-band-inner { background-image: url("/assets/img/developer-strategy.jpg"); }
.band-marketing-strategy .image-band-inner { background-image: url("/assets/img/business-marketing-strategy.png"); }
.band-marketing-potential .image-band-inner { background-image: url("/assets/img/design-marketing-potential.gif"); }
.band-desktop-aqua .image-band-inner { background-image: url("/assets/img/design-desktop-aqua-accent.jpg"); }

@media (prefers-reduced-motion: reduce) {
  .image-band-inner {
    top: 0;
    height: 100%;
    transform: none !important;
  }
}

.float-block {
  overflow: hidden;
  padding-bottom: 16px;
}

.float-block img {
  width: 300px;
  max-width: 42%;
  height: auto;
}

.float-left {
  float: left;
  margin: 0 24px 12px 0;
}

.float-right {
  float: right;
  margin: 0 0 12px 24px;
}

.icon-break {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
  margin: 0 0 -22px;
}

.intro .icon-break {
  margin: 0 0 -22px;
}

.icon-break img {
  width: 50px;
  height: 50px;
}

.intro:has(.icon-break) {
  padding-bottom: 0;
}

.stripe {
  background: #171b1e;
  color: #fff;
  padding: 42px 0;
  margin: 0;
}

.stripe h2,
.stripe p,
.stripe a {
  color: #fff;
}

.stripe h2 {
  font-size: 24px;
  font-weight: 600;
  line-height: 32px;
}

.stripe .contact-form input,
.stripe .contact-form textarea {
  color: #6b6b6b;
  background: #f7f7f7;
}

.hero-carousel {
  position: relative;
}

.hero-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-carousel img.is-active {
  opacity: 1;
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 40px;
  width: min(var(--content), calc(100% - 80px));
  margin: 0 auto;
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #c4c4c4;
  font: 16px / 24px var(--font);
  color: #6b6b6b;
  background: #f7f7f7;
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-required {
  margin: 0 0 12px;
  color: #fff;
  font-size: 16px;
  line-height: 26px;
}

.form-required .req {
  color: #e80000;
}

.captcha-wrap {
  padding: 12px;
  background: #171b1e;
  border-radius: 6px;
  margin: 8px 0 4px;
}

.captcha-wrap.is-idle {
  position: absolute;
  left: -9999px;
  width: 304px;
  height: 78px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.contact-form .h-captcha {
  margin: 0;
}

.contact-form button {
  justify-self: start;
  padding: 12px 22px;
  -webkit-appearance: none;
  appearance: none;
  background: #202020;
  color: #fff;
  border: 0;
  border-radius: 0;
  font: 700 14px / 18px var(--font);
  cursor: pointer;
}

.contact-form button:hover {
  background: #000;
}

.form-status {
  margin: 8px 0 0;
  font-size: 14px;
}

.form-status.is-success {
  color: #1a7a3a;
}

.form-status.is-error {
  color: #b42318;
}

.contact-social {
  display: flex;
  gap: 6px;
  margin-top: 12px;
}

.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #fff;
}

.contact-social .facebook { background: #3b5998; }
.contact-social .x { background: #55acee; }
.contact-social .skype { background: #00aff0; }

.contact-social svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 970px) {
  .split,
  .include-grid,
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 800px) {
  .split,
  .include-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .float-block img {
    max-width: 100%;
    float: none;
    margin: 0 0 16px;
    width: 100%;
  }

  .contact-grid {
    width: calc(100% - 40px);
  }
}
