/*
Theme Name: Frisbee Web Solutions
Theme URI: https://frisbeeweb.com/
Author: Frisbee Web Solutions
Description: Custom WordPress theme for the Frisbee Web Solutions website migration.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 8.1
Text Domain: frisbeeweb
*/

:root {
  --fw-text: #1f2937;
  --fw-heading: #111827;
  --fw-muted: #6b7280;
  --fw-line: #e5e7eb;
  --fw-surface: #f9fafb;
  --fw-brand: #2563eb;
  --fw-brand-dark: #1d4ed8;
  --fw-brand-soft: #dbeafe;
  --fw-white: #ffffff;
  --fw-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
  --fw-radius: 1.25rem;
  --fw-shell: min(1120px, calc(100vw - 2rem));
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--fw-text);
  background: var(--fw-white);
  line-height: 1.65;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--fw-brand);
}
a:hover {
  color: var(--fw-brand-dark);
}
:focus-visible {
  outline: 3px solid var(--fw-brand);
  outline-offset: 3px;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: var(--fw-brand-dark);
  color: var(--fw-white);
}
.site-shell {
  width: var(--fw-shell);
  margin: 0 auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.08);
}
.site-header__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
@media (min-width: 640px) {
  .site-header__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .site-header__inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}
.site-brand img,
.site-footer__brand img {
  width: auto;
  height: 3.5rem;
}
.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.site-nav__list,
.site-footer__nav,
.site-footer__legal {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav__list li {
  margin: 0;
}
.site-header .site-nav__list a,
.site-header .site-nav__list a:link,
.site-header .site-nav__list a:visited {
  display: inline-block;
  text-decoration: none;
  font-size: 0.875rem;
  line-height: 1.25rem;
  font-weight: 500;
  color: #4b5563;
  transition: color 0.2s ease;
}
.site-header .site-nav__list a:hover,
.site-header .site-nav__list a:focus-visible {
  color: #0284c7;
}
.site-header .site-nav__list .current-menu-item > a,
.site-header .site-nav__list .current_page_item > a,
.site-header .site-nav__list .current-menu-ancestor > a,
.site-header .site-nav__list .current_page_ancestor > a {
  color: #0284c7;
  font-weight: 500;
}
.site-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-footer a {
  text-decoration: none;
  color: var(--fw-text);
}
.site-menu-toggle {
  display: none;
  border: 1px solid var(--fw-line);
  background: var(--fw-white);
  border-radius: 0.375rem;
  padding: 0.5rem;
  font: inherit;
  color: #4b5563;
}
.button,
.fw-button,
.wp-element-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.9rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--fw-brand);
  background: var(--fw-brand);
  color: var(--fw-white);
  text-decoration: none;
  font-weight: 700;
}
.button:hover,
.fw-button:hover,
.wp-element-button:hover {
  background: var(--fw-brand-dark);
  border-color: var(--fw-brand-dark);
  color: var(--fw-white);
}

.site-header__cta {
  display: inline-flex;
  min-height: auto;
  border-radius: 0.5rem;
  border: 1px solid #0284c7;
  background: #0284c7;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  padding: 0.5rem 1rem;
}
.site-header__cta:hover {
  background: #0369a1;
  border-color: #0369a1;
  color: #fff;
}
@media (min-width: 768px) {
  .site-brand img {
    height: 4rem;
  }
}

.fw-button--secondary {
  background: transparent;
  color: var(--fw-brand-dark);
}
.fw-button--secondary:hover {
  background: var(--fw-brand-soft);
  color: var(--fw-brand-dark);
}
.site-main {
  padding: 0 0 5rem;
}
.page-content {
  width: min(1120px, calc(100vw - 2rem));
  margin: 0 auto;
  padding-top: 2rem;
}
.entry-content > :first-child {
  margin-top: 0;
}
.entry-content > :last-child {
  margin-bottom: 0;
}
.entry-content h1,
.entry-content h2,
.entry-content h3 {
  color: var(--fw-heading);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.entry-content h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.entry-content h2 {
  font-size: 1.875rem;
  font-weight: 700;
  margin: 0 0 1rem;
}
.entry-content h3 {
  font-size: 1.35rem;
  margin: 0 0 0.75rem;
}
@media (min-width: 640px) {
  .entry-content h1 {
    font-size: 3rem;
  }
  .entry-content h2 {
    font-size: 2.25rem;
  }
}
@media (min-width: 1024px) {
  .entry-content h1 {
    font-size: 3.75rem;
    line-height: 1;
  }
}
.entry-content p,
.entry-content li,
.entry-content summary {
  font-size: 1.05rem;
}
.entry-content ul {
  padding-left: 1.3rem;
}
.entry-content figure {
  margin: 0;
}
.fw-hero,
.fw-section,
.fw-cta {
  margin: 0 0 2rem;
  padding: 2rem;
  border-radius: var(--fw-radius);
}
.fw-hero {
  padding: clamp(2.5rem, 6vw, 6rem) 1rem;
  background: linear-gradient(135deg, #0369a1 0%, #0c4a6e 100%);
  color: var(--fw-white);
  border: 0;
  border-radius: 0 !important;
  overflow: hidden;
  text-align: center;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.fw-hero > * {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}
.fw-hero h1,
.fw-hero h2,
.fw-hero h3 {
  color: var(--fw-white);
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
}
.fw-hero h1,
.fw-hero .wp-block-heading {
  max-width: 48rem;
  text-wrap: balance;
}
.fw-hero h1 {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0 auto;
}
@media (min-width: 640px) {
  .fw-hero h1 {
    font-size: 3rem;
  }
}
@media (min-width: 1024px) {
  .fw-hero h1 {
    font-size: 3.75rem;
    line-height: 1;
  }
}
.fw-eyebrow,
.entry-content .fw-eyebrow {
  display: inline-flex;
  margin: 0 0 1.5rem;
  padding: 0.375rem 1rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.3);
  color: #e0f2fe;
  font-size: 0.875rem;
  font-weight: 500;
}
.fw-lead,
.entry-content .fw-lead {
  max-width: 44rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  color: var(--fw-muted);
}
.fw-hero .fw-lead,
.fw-hero p {
  color: #e0f2fe;
}
.fw-actions,
.fw-hero .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  justify-content: center;
}
.fw-hero .wp-block-button__link,
.fw-hero .wp-element-button {
  border-radius: 0.5rem;
  border: 1px solid var(--fw-white);
  background: var(--fw-white);
  color: #0369a1;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
}
.fw-hero .wp-block-button__link:hover,
.fw-hero .wp-element-button:hover {
  background: #f0f9ff;
  border-color: #f0f9ff;
  color: #0369a1;
}
.fw-hero .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--fw-white);
  border-color: rgba(255, 255, 255, 0.4);
}
.fw-hero .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--fw-white);
}
.fw-section {
  border: 1px solid var(--fw-line);
  background: var(--fw-white);
}

/* Core Services/feature cards section should not have outer card styling */
.wp-block-frisbeeweb-cards-section.fw-section {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0 1rem;
}

.wp-block-frisbeeweb-cards-section .fw-card-grid {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .wp-block-frisbeeweb-cards-section.fw-section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .wp-block-frisbeeweb-cards-section .fw-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .wp-block-frisbeeweb-cards-section.fw-section {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .wp-block-frisbeeweb-cards-section .fw-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.fw-section--muted {
  background: var(--fw-surface);
}
.fw-section--narrow {
  max-width: 52rem;
  margin-left: auto;
  margin-right: auto;
}
.fw-section-heading {
  max-width: 42rem;
  margin: 0 auto 1.5rem;
  text-align: center;
}
.fw-section-heading p {
  max-width: 42rem;
  margin: 0.75rem auto 0;
  color: var(--fw-muted);
}
.fw-card-grid,
.fw-testimonials,
.fw-step-grid,
.fw-showcase {
  display: grid;
  gap: 1.5rem;
}
.fw-card-grid {
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.fw-showcase {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.fw-testimonials {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.fw-step-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.fw-card {
  padding: 2rem;
  border-radius: 1rem;
  background: #f9fafb;
  border: 1px solid #f3f4f6;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.2s ease;
}
.fw-card:hover {
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.1);
}
.fw-quote,
.fw-step,
.fw-showcase-item,
.fw-case-study {
  padding: 1.5rem;
  border-radius: 1rem;
  background: var(--fw-white);
  border: 1px solid var(--fw-line);
  box-shadow: var(--fw-shadow);
}
.fw-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
}
.fw-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #4b5563;
}
.fw-card .fw-card__icon,
.fw-step__number {
  font-size: 2rem;
  line-height: 1;
  font-weight: 800;
  margin: 0 0 0.75rem;
}
.fw-step__number {
  color: var(--fw-brand);
}
.fw-quote blockquote {
  margin: 0 0 1rem;
}
.fw-quote__author {
  font-weight: 700;
  margin: 0;
}
.fw-quote__author span {
  display: block;
  margin-top: 0.25rem;
  color: var(--fw-muted);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Reviews masonry layout (match old Laravel testimonials flow) */
.fw-reviews-section {
  background: #f0f9ff;
  border: 0;
  border-radius: 0;
  padding: 5rem 1rem;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.fw-reviews-section > .fw-section-heading,
.fw-reviews-section > .fw-testimonials {
  max-width: min(1280px, calc(100vw - 2rem));
  margin-left: auto;
  margin-right: auto;
}
.fw-reviews-section > .fw-testimonials {
  margin-top: 3rem;
}
.fw-reviews-section .fw-testimonials {
  display: block !important;
  columns: 1;
  column-gap: 2rem;
  column-fill: balance;
}
.fw-reviews-section .fw-quote {
  display: inline-block;
  width: 100%;
  margin: 0 0 2rem;
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  padding: 2rem;
  border-radius: 1rem;
  background: #fff;
  border: 1px solid #f3f4f6;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}
.fw-reviews-section .fw-quote blockquote {
  margin: 0;
}
.fw-reviews-section .fw-quote blockquote p {
  margin: 0;
  color: #374151;
  line-height: 1.625;
  font-size: 1rem;
}
.fw-reviews-section .fw-quote__author {
  margin: 1.5rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
  font-weight: 600;
  color: #111827;
}
.fw-reviews-section .fw-quote__author span {
  display: block;
  margin-top: 0.25rem;
  color: #6b7280;
  font-size: 0.875rem;
  font-weight: 500;
}
@media (min-width: 768px) {
  .fw-reviews-section .fw-testimonials {
    column-count: 2;
  }
}
@media (min-width: 1024px) {
  .fw-reviews-section .fw-testimonials {
    column-count: 3;
  }
}
.fw-faq {
  display: grid;
  gap: 1rem;
}
.fw-faq-item {
  border: 1px solid var(--fw-line);
  border-radius: 1rem;
  background: var(--fw-white);
  padding: 1rem 1.25rem;
}
.fw-faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--fw-heading);
}
.fw-faq-item p {
  margin: 0.9rem 0 0;
  color: var(--fw-muted);
}
.fw-copy-block + .fw-copy-block {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--fw-line);
}
.fw-case-study {
  display: grid;
  gap: 1.5rem;
}
.fw-case-study__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}
.fw-case-study__logo {
  width: auto;
  max-height: 3rem;
}
.fw-showcase-item a {
  display: grid;
  gap: 1rem;
  color: inherit;
  text-decoration: none;
}
.fw-showcase-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 0.75rem;
}
.fw-cta {
  text-align: center;
  background: var(--fw-brand-dark);
  color: var(--fw-white);
}
.fw-cta h2,
.fw-cta p {
  color: inherit;
}
.fw-contact-copy {
  margin: 0;
  color: var(--fw-muted);
}
.site-footer {
  border-top: 1px solid var(--fw-line);
  background: var(--fw-surface);
}
.site-footer__inner {
  display: grid;
  gap: 2rem;
  padding: 3rem 0 2rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.site-footer__brand p,
.site-footer li,
.site-footer__copyright {
  color: var(--fw-muted);
}
.site-footer__group h2 {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer__nav li + li,
.site-footer__legal li + li {
  margin-top: 0.6rem;
}
.site-footer__bottom {
  padding-bottom: 2.5rem;
  text-align: center;
}
.not-found {
  text-align: center;
  padding: 5rem 0;
}
@media (max-width: 767px) {
  .site-header__inner {
    position: relative;
  }
  .site-menu-toggle {
    display: inline-flex;
  }
  .site-header__cta {
    display: none;
  }
  .site-nav {
    position: absolute;
    left: 1rem;
    right: 1rem;
    top: calc(100% + 0.5rem);
    display: none;
    flex: none;
    justify-content: flex-start;
    padding: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--fw-line);
    background: var(--fw-white);
    box-shadow: var(--fw-shadow);
    z-index: 60;
  }
  .site-nav.is-open {
    display: block;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .fw-hero,
  .fw-section,
  .fw-cta {
    padding: 1.5rem;
  }
  .page-content {
    padding-top: 1rem;
  }
}

/*
 * WordPress core/common classes
 * (kept for compatibility with editor output and theme checks)
 */
.sticky {
  display: block;
}
.bypostauthor {
  display: block;
}
.gallery-caption,
.wp-caption-text {
  color: var(--fw-muted);
  font-size: 0.95rem;
}
.wp-caption {
  max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
  display: block;
  margin: 0 auto;
}
.alignnone {
  margin: 0 0 1rem;
}
.alignleft {
  float: left;
  margin: 0.25rem 1.5rem 1rem 0;
}
.alignright {
  float: right;
  margin: 0.25rem 0 1rem 1.5rem;
}
.aligncenter {
  clear: both;
  display: block;
  margin: 0 auto 1rem;
}
.alignwide {
  margin-left: auto;
  margin-right: auto;
  max-width: min(1280px, calc(100vw - 2rem));
}
.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  max-width: 100vw;
  width: 100vw;
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 0.5rem;
  line-height: normal;
  padding: 0.9375rem 1.4375rem 0.875rem;
  text-decoration: none;
  top: 0.5rem;
  width: auto;
  z-index: 100000;
}

/*
 * Gutenberg/common block compatibility
 */
.wp-element-caption,
.wp-block-image figcaption {
  color: var(--fw-muted);
  font-size: 0.95rem;
  text-align: center;
}
.wp-block-quote {
  margin: 0 0 1.5rem;
  padding: 0.5rem 0 0.5rem 1.25rem;
  border-left: 4px solid var(--fw-brand-soft);
}
.wp-block-quote cite {
  color: var(--fw-muted);
  font-size: 0.95rem;
}
.wp-block-pullquote {
  padding: 1.5rem;
  border-top: 2px solid var(--fw-line);
  border-bottom: 2px solid var(--fw-line);
}
.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
}
.wp-block-table th,
.wp-block-table td {
  border: 1px solid var(--fw-line);
  padding: 0.65rem 0.8rem;
}
.wp-block-separator {
  border: 0;
  border-top: 1px solid var(--fw-line);
  margin: 2rem 0;
}
.wp-block-columns {
  gap: 1.5rem;
}
.wp-block-cover,
.wp-block-cover-image {
  overflow: hidden;
}
.is-layout-flex {
  gap: 1rem;
}
.is-layout-grid {
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .alignleft,
  .alignright {
    float: none;
    display: block;
    margin: 0 auto 1rem;
  }
}

/* Contact Form 7 */
.wpcf7 {
  max-width: 42rem;
  margin: 0 auto;
}
.wpcf7 form {
  display: grid;
  gap: 1rem;
}
.wpcf7 p {
  margin: 0;
}
.wpcf7 label {
  display: block;
  margin: 0 0 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}
.wpcf7-form-control-wrap {
  display: block;
}
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 textarea,
.wpcf7 select {
  width: 100%;
  display: block;
  border: 1px solid #d1d5db;
  border-radius: 0.5rem;
  background: #fff;
  color: #111827;
  font-size: 0.875rem;
  line-height: 1.5;
  padding: 0.625rem 0.75rem;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.wpcf7 textarea {
  min-height: 7.5rem;
  resize: vertical;
}
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
  outline: 0;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
  color: #9ca3af;
}
.wpcf7 .wpcf7-submit {
  width: 100%;
  border: 1px solid #0284c7;
  border-radius: 0.5rem;
  background: #0284c7;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.25;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.12);
}
.wpcf7 .wpcf7-submit:hover {
  background: #0369a1;
  border-color: #0369a1;
}
.wpcf7 .wpcf7-submit:focus-visible {
  outline: 2px solid #0ea5e9;
  outline-offset: 2px;
}
.wpcf7-not-valid-tip {
  margin-top: 0.375rem;
  font-size: 0.875rem;
  color: #dc2626;
}
.wpcf7 form .wpcf7-response-output {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.95rem;
}
.wpcf7 form.sent .wpcf7-response-output {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output {
  border: 1px solid #fecaca;
  background: #fef2f2;
  color: #991b1b;
}
.wpcf7-spinner {
  margin-left: 0.5rem;
}
