/*
Theme Name: Keystone Integrity Partners
Theme URI: https://www.keystoneintegritypartners.com
Author: Nlinksolution
Author URI: https://www.nlinksolution.com
Description: A professional, fully editable one-page WordPress theme for Keystone Integrity Partners — accounting, auditing, and compliance services. Built by Team Nlinksolution (www.nlinksolution.com).
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: keystoneintegritypartners
Tags: one-page, business, professional, customizer
*/

/* ─── CSS CUSTOM PROPERTIES ─── */
:root {
  --navy: #0a1628;
  --navy-mid: #102040;
  --gold: #c8972a;
  --gold-light: #e8b84b;
  --gold-pale: #f5e4b0;
  --white: #ffffff;
  --off-white: #f7f5f0;
  --slate: #4a5568;
  --slate-light: #718096;
  --border: rgba(200, 151, 42, 0.25);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--navy);
  background: var(--off-white);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: 'Cormorant Garamond', serif;
}

a {
  text-decoration: none;
  color: inherit;
}

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

/* ─── UTILITY ─── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--navy);
}

.section-title span {
  color: var(--gold);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 30px;
  border-radius: 2px;
  transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200, 151, 42, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 13px 30px;
  border-radius: 2px;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  transition: border-color 0.25s, background 0.25s;
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(200, 151, 42, 0.1);
  color: var(--gold-light);
}

/* ─── TOPBAR ─── */
.topbar {
  background: var(--navy);
  padding: 9px 0;
  border-bottom: 1px solid rgba(200, 151, 42, 0.2);
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.78rem;
}

.topbar-item i {
  color: var(--gold);
  font-size: 0.75rem;
}

.topbar-item a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s;
}

.topbar-item a:hover {
  color: var(--gold-light);
}

.topbar-divider {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 4px;
}

/* ─── NAVBAR ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(10, 22, 40, 0.07);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 44px;
  height: 44px;
  background: var(--navy);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.logo-icon i {
  color: var(--gold);
  font-size: 1.3rem;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  line-height: 1.1;
}

.logo-text strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}

.logo-text span {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─── IMAGE LOGO (transparent, no box) ─── */
.logo-img {
  height: 52px;   /* fits comfortably inside 72px navbar */
  width: auto;
  max-width: 240px;
  display: block;
  object-fit: contain;
  background: transparent;
}

/* Slightly smaller in the dark footer — no filter, use a proper footer logo */
.footer-brand .logo-img {
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.03em;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.25s;
}

.nav-links a:hover {
  color: var(--navy);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  margin-left: 16px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: var(--navy);
  font-size: 1.4rem;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
}

.mobile-nav .btn-primary {
  margin-top: 16px;
  justify-content: center;
}

/* ─── HERO ─── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.12;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--navy) 0%, rgba(10, 22, 40, 0.85) 60%, rgba(16, 32, 64, 0.7) 100%);
}

.hero-accent {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  background: linear-gradient(180deg, rgba(200, 151, 42, 0.06) 0%, rgba(200, 151, 42, 0.02) 100%);
  border-left: 1px solid rgba(200, 151, 42, 0.15);
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0% 100%);
}

.hero-dots {
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  opacity: 0.18;
}

.hero-dots span {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200, 151, 42, 0.12);
  border: 1px solid rgba(200, 151, 42, 0.3);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 24px;
  animation: fadeDown 0.7s ease both;
}

.hero-badge i {
  font-size: 0.7rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeUp 0.7s 0.15s ease both;
}

.hero h1 span {
  color: var(--gold);
}

.hero-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-bottom: 36px;
  animation: fadeUp 0.7s 0.3s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeUp 0.7s 0.45s ease both;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 52px;
  background: rgba(200, 151, 42, 0.15);
  border: 1px solid rgba(200, 151, 42, 0.2);
  border-radius: 2px;
  overflow: hidden;
  animation: fadeUp 0.7s 0.6s ease both;
}

.stat-box {
  background: rgba(10, 22, 40, 0.6);
  padding: 20px 16px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
}

.stat-lbl {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* hero image side */
.hero-image-col {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeLeft 0.9s 0.3s ease both;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 440px;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(200, 151, 42, 0.2);
}

.hero-card-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--gold);
  color: var(--navy);
  padding: 18px 22px;
  border-radius: 2px;
  box-shadow: 0 12px 32px rgba(200, 151, 42, 0.3);
}

.hero-card-badge strong {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.hero-card-badge span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ─── TRUST STRIP ─── */
.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--slate);
  font-size: 0.82rem;
  font-weight: 500;
}

.trust-item i {
  color: var(--gold);
  font-size: 1.1rem;
  width: 24px;
  text-align: center;
}

/* ─── ABOUT ─── */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 2px;
}

.about-image-frame {
  position: absolute;
  top: -16px;
  left: -16px;
  right: 20px;
  bottom: 20px;
  border: 2px solid var(--border);
  border-radius: 2px;
  z-index: -1;
}

.about-corner {
  position: absolute;
  bottom: -8px;
  right: -8px;
  width: 80px;
  height: 80px;
  background: var(--gold);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-corner i {
  color: var(--navy);
  font-size: 2rem;
}

.about-content {
  padding-top: 12px;
}

.about-content p {
  font-size: 0.97rem;
  color: var(--slate);
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-quote {
  border-left: 3px solid var(--gold);
  padding: 16px 20px;
  background: var(--off-white);
  margin: 28px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.22rem;
  color: var(--navy);
  line-height: 1.55;
  font-style: italic;
}

.about-vals {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.about-val {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.about-val i {
  color: var(--gold);
  margin-top: 2px;
  font-size: 0.9rem;
  width: 20px;
  flex-shrink: 0;
}

.about-val span {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.6;
}

/* ─── SERVICES ─── */
.services {
  padding: 100px 0;
  background: var(--off-white);
}

.services-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.services-header .section-label {
  justify-content: center;
}

.services-header p {
  font-size: 1rem;
  color: var(--slate);
  line-height: 1.75;
  margin-top: 16px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 2px;
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  cursor: default;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10, 22, 40, 0.09);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(200, 151, 42, 0.1);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: background 0.25s;
}

.service-card:hover .service-icon {
  background: var(--gold);
}

.service-icon i {
  color: var(--gold);
  font-size: 1.3rem;
  transition: color 0.25s;
}

.service-card:hover .service-icon i {
  color: var(--navy);
}

.service-card h3 {
  font-size: 1.18rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--navy);
}

.service-card p {
  font-size: 0.87rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 16px;
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.service-card ul li {
  font-size: 0.82rem;
  color: var(--slate-light);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.service-card ul li i {
  color: var(--gold);
  font-size: 0.68rem;
  margin-top: 4px;
  flex-shrink: 0;
}

/* ─── NONPROFIT CTA ─── */
.nonprofit-cta {
  padding: 80px 0;
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.nonprofit-cta::before {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 151, 42, 0.12) 0%, transparent 70%);
}

.nonprofit-cta .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.nonprofit-cta h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 12px;
}

.nonprofit-cta h2 span {
  color: var(--gold);
}

.nonprofit-cta p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.97rem;
  line-height: 1.75;
  max-width: 580px;
}

.nonprofit-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.np-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 151, 42, 0.12);
  border: 1px solid rgba(200, 151, 42, 0.25);
  color: var(--gold-pale);
  font-size: 0.76rem;
  padding: 5px 12px;
  border-radius: 2px;
  letter-spacing: 0.04em;
}

.np-tag i {
  font-size: 0.65rem;
}

/* ─── PROCESS ─── */
.process {
  padding: 100px 0;
  background: var(--white);
}

.process-header {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 64px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 12%;
  width: 76%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-num {
  width: 56px;
  height: 56px;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
}

.process-step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--navy);
}

.process-step p {
  font-size: 0.83rem;
  color: var(--slate-light);
  line-height: 1.65;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: 100px 0;
  background: var(--off-white);
}

.testimonials-header {
  text-align: center;
  max-width: 540px;
  margin: 0 auto 56px;
}

.testimonials-header p {
  color: var(--slate);
  font-size: 1rem;
  margin-top: 14px;
  line-height: 1.75;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 2px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  color: rgba(200, 151, 42, 0.12);
  line-height: 1;
}

.stars {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--slate);
  line-height: 1.75;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-weight: 700;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
}

.author-info span {
  font-size: 0.75rem;
  color: var(--slate-light);
}

/* ─── CTA BANNER ─── */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, #0d1f3c 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(200, 151, 42, 0.08) 0%, transparent 55%),
    radial-gradient(circle at 80% 50%, rgba(200, 151, 42, 0.06) 0%, transparent 55%);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner h2 span {
  color: var(--gold);
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── CONTACT ─── */
.contact {
  padding: 100px 0;
  background: var(--white);
}

.contact .container {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
}

.contact-info h2 {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.contact-info h2 span {
  color: var(--gold);
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail .icon {
  width: 44px;
  height: 44px;
  background: rgba(200, 151, 42, 0.1);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail .icon i {
  color: var(--gold);
  font-size: 1rem;
}

.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-detail a,
.contact-detail span {
  font-size: 0.9rem;
  color: var(--slate);
  transition: color 0.2s;
}

.contact-detail a:hover {
  color: var(--gold);
}

/* Contact Form */
.contact-form {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 40px 36px;
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.contact-form > p {
  font-size: 0.85rem;
  color: var(--slate-light);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200, 151, 42, 0.12);
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form .btn-primary {
  width: 100%;
  justify-content: center;
  margin-top: 4px;
}

.form-message {
  display: none;
  padding: 12px 16px;
  border-radius: 2px;
  font-size: 0.88rem;
  margin-top: 12px;
  text-align: center;
}

.form-message.success {
  display: block;
  background: rgba(45, 122, 79, 0.1);
  border: 1px solid rgba(45, 122, 79, 0.3);
  color: #2d7a4f;
}

.form-message.error {
  display: block;
  background: rgba(200, 50, 50, 0.1);
  border: 1px solid rgba(200, 50, 50, 0.3);
  color: #c83232;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 64px 0 0;
  border-top: 1px solid rgba(200, 151, 42, 0.15);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand .logo-text strong {
  color: var(--white);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.75;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  transition: border-color 0.2s, color 0.2s;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-contact-item i {
  color: var(--gold);
  margin-top: 2px;
  font-size: 0.8rem;
  width: 14px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.footer-contact-item a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s;
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* ─── ANIMATIONS ─── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── FLOATING CTA ─── */
.float-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.float-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 2px;
  box-shadow: 0 6px 24px rgba(200, 151, 42, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(200, 151, 42, 0.5);
}

.float-btn i { font-size: 0.9rem; }

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .hero .container { grid-template-columns: 1fr; }
  .hero-image-col { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .about .container { grid-template-columns: 1fr; }
  .about-image { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .contact .container { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .nonprofit-cta .container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .topbar { display: none; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; }
}
