/*
Theme Name: GFI Systems
Theme URI: https://gfisys.com
Author: GFI Systems
Author URI: https://gfisys.com
Description: Single-page block theme for GFI Systems LLC — Orlando managed IT.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.5
Requires PHP: 8.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: gfi-systems
*/

/* ---- Cursor (canonical, do not change) ---- */
@keyframes gfi-cursor { 50% { opacity: 0; } }
.gfi-cursor { animation: gfi-cursor 1.06s step-end infinite; }

@media (prefers-reduced-motion: reduce) {
  .gfi-cursor { animation: none; }
  html { scroll-behavior: auto !important; }
}

html { scroll-behavior: smooth; }
body { background: #fff; }

/* ---- Accessibility ---- */
.gfi-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.625rem 1rem;
  background: #0F2D4A;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  z-index: 9999;
}
.gfi-skip:focus { left: 0; }

:focus-visible { outline: 2px solid #0F2D4A; outline-offset: 3px; }

/* ---- Logo ---- */
.gfi-logo { display: inline-block; line-height: 0; text-decoration: none; }
.gfi-logo svg { display: block; height: 44px; width: auto; }
.gfi-logo-footer svg { display: block; height: 22px; width: auto; margin: 0 auto; }

/* ---- Header ---- */
.gfi-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid #E5E7EB;
}
.gfi-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.gfi-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
}
.gfi-nav a {
  color: #0F2D4A;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.gfi-nav a:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 600px) {
  .gfi-nav ul { gap: 1.25rem; }
  .gfi-nav a { font-size: 0.85rem; }
}

/* ---- Sections (shared) ---- */
.gfi-section {
  padding: 5rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.gfi-section + .gfi-section { border-top: 1px solid #E5E7EB; }
.gfi-eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #6B7280;
  margin: 0 0 1rem;
}

/* ---- Hero ---- */
.gfi-hero { padding: 6rem 1.5rem 5rem; max-width: 880px; }
.gfi-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #0F2D4A;
  margin: 0 0 1.5rem;
}
.gfi-hero p {
  font-size: 1.15rem;
  color: #6B7280;
  line-height: 1.6;
  max-width: 640px;
  margin: 0 0 2rem;
}
.gfi-button {
  display: inline-block;
  background: #0F2D4A;
  color: #fff;
  padding: 0.85rem 1.75rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}
.gfi-button:hover, .gfi-button:focus-visible { background: #1a3f5f; color: #fff; }

/* ---- Services ---- */
.gfi-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.gfi-service-card {
  padding: 2rem;
  border: 1px solid #E5E7EB;
  border-radius: 6px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.gfi-service-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0F2D4A;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}
.gfi-service-card p {
  color: #6B7280;
  line-height: 1.6;
  margin: 0;
  font-size: 0.95rem;
  flex: 1;
}
.gfi-partner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-style: italic;
  font-size: 0.85rem;
  color: #6B7280;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid #E5E7EB;
}
.gfi-partner-logo { height: 16px; width: auto; }

/* ---- About ---- */
.gfi-about { max-width: 760px; }
.gfi-about p {
  font-size: 1.2rem;
  color: #0F2D4A;
  line-height: 1.65;
  margin: 1rem 0 0;
  font-weight: 400;
}

/* ---- Contact ---- */
.gfi-contact h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0F2D4A;
  margin: 0.5rem 0;
}
.gfi-contact-intro {
  color: #6B7280;
  font-size: 1.05rem;
  margin: 0 0 2.5rem;
  max-width: 560px;
}
.gfi-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
}
@media (max-width: 800px) {
  .gfi-contact-grid { grid-template-columns: 1fr; gap: 2rem; }
}
.gfi-contact-info dl {
  margin: 0;
  display: grid;
  gap: 1.25rem;
}
.gfi-contact-info dt {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #6B7280;
  margin: 0 0 0.25rem;
  font-weight: 600;
}
.gfi-contact-info dd {
  margin: 0;
  color: #0F2D4A;
  font-size: 1rem;
  line-height: 1.5;
}
.gfi-contact-info a { color: #0F2D4A; text-decoration: none; }
.gfi-contact-info a:hover { text-decoration: underline; }
.gfi-contact-info .gfi-sub { color: #6B7280; font-size: 0.85rem; margin-top: 0.25rem; }

/* ---- Form ---- */
.gfi-form { display: grid; gap: 1rem; }
.gfi-form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .gfi-form-row { grid-template-columns: 1fr; } }
.gfi-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0F2D4A;
  margin-bottom: 0.4rem;
}
.gfi-req { color: #b91c1c; margin-left: 0.2rem; }
.gfi-form input,
.gfi-form select,
.gfi-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid #E5E7EB;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  color: #0F2D4A;
  background: #fff;
  box-sizing: border-box;
}
.gfi-form textarea { min-height: 140px; resize: vertical; }
.gfi-form input:focus,
.gfi-form select:focus,
.gfi-form textarea:focus {
  outline: none;
  border-color: #0F2D4A;
  box-shadow: 0 0 0 3px rgba(15, 45, 74, 0.12);
}
.gfi-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.gfi-form-message {
  padding: 0.85rem 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.gfi-form-message.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.gfi-form-message.error   { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ---- Footer ---- */
.gfi-footer {
  border-top: 1px solid #E5E7EB;
  padding: 2rem 1.5rem;
  text-align: center;
}
.gfi-footer-copy {
  margin: 0.75rem 0 0;
  color: #6B7280;
  font-size: 0.85rem;
}
