/*
Theme Name: AttestCentral
Theme URI: https://attestcentral.com
Author: AttestCentral
Description: The official theme for AttestCentral — a global directory for document attestation, translation, and legalization services. Requires the AttestCentral Core plugin.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: globalattest
*/

/* ============================================================
   Design tokens — ocean blue + coral on cream.
   Fonts: Outfit (display) + Source Sans 3 (body).
   ============================================================ */
:root {
	--ga-ocean: #2563EB;
	--ga-ocean-dark: #1D4ED8;
	--ga-ocean-light: #DBEAFE;
	--ga-ocean-soft: #EFF6FF;
	--ga-coral: #F97316;
	--ga-coral-dark: #EA580C;
	--ga-coral-soft: #FFEDD5;
	--ga-coral-light: #FFF7ED;
	--ga-ink: #1E293B;
	--ga-text: #334155;
	--ga-text-mid: #64748B;
	--ga-text-light: #94A3B8;
	--ga-cream: #FEFCF8;
	--ga-snow: #F8FAFC;
	--ga-border: #E2E8F0;
	--ga-border-light: #F1F5F9;
	--ga-green: #16A34A;
	--ga-max: 1180px;
	--ga-font-display: 'Outfit', system-ui, sans-serif;
	--ga-font-body: 'Source Sans 3', system-ui, sans-serif;
	--ga-hero-grad: linear-gradient(135deg, #1E40AF 0%, #3B82F6 50%, #0EA5E9 100%);
}

/* ============================================================
   Reset + base
   ============================================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--ga-font-body);
	font-size: 17px;
	line-height: 1.65;
	color: var(--ga-text);
	background: var(--ga-cream);
	-webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5 { font-family: var(--ga-font-display); color: var(--ga-ink); line-height: 1.2; font-weight: 700; }
a { color: var(--ga-ocean); }
img { max-width: 100%; height: auto; }

.ga-container { max-width: var(--ga-max); margin: 0 auto; padding: 0 24px; }
.ga-section { padding: 72px 0; }
.ga-section--tight { padding: 48px 0; }
.ga-section__head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.ga-section__eyebrow { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ga-coral-dark); background: var(--ga-coral-soft); padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; }
.ga-section__title { font-size: 34px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 12px; }
.ga-section__sub { font-size: 18px; color: var(--ga-text-mid); margin: 0; }

/* Skip link for accessibility */
.ga-skip { position: absolute; left: -9999px; top: 0; background: var(--ga-ocean); color: #fff; padding: 10px 16px; z-index: 10000; border-radius: 0 0 8px 0; }
.ga-skip:focus { left: 0; }

/* ============================================================
   Header
   ============================================================ */
.ga-header {
	position: sticky; top: 0; z-index: 100;
	background: rgba(254, 252, 248, .9);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--ga-border-light);
}
.ga-header__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.ga-logo { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.ga-logo__bar { width: 3px; height: 22px; border-radius: 2px; background: var(--ga-coral); }
.ga-logo__text { font-family: var(--ga-font-display); font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.ga-logo__text .ga-logo__g { color: var(--ga-ocean); }
.ga-logo__text .ga-logo__a { color: var(--ga-coral); }
.ga-nav { display: flex; align-items: center; gap: 8px; }
.ga-nav a { color: var(--ga-text); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 8px; transition: background .15s, color .15s; }
.ga-nav a:hover { background: var(--ga-ocean-soft); color: var(--ga-ocean-dark); }
.ga-nav .ga-nav__cta { background: var(--ga-ocean); color: #fff; }
.ga-nav .ga-nav__cta:hover { background: var(--ga-ocean-dark); color: #fff; }
.ga-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.ga-burger span { display: block; width: 22px; height: 2px; background: var(--ga-ink); margin: 4px 0; transition: .2s; }

/* ============================================================
   Hero
   ============================================================ */
.ga-hero { background: var(--ga-hero-grad); color: #fff; padding: 76px 0 96px; position: relative; overflow: hidden; }
.ga-hero::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(255,255,255,.12), transparent 45%); pointer-events: none; }
.ga-hero__inner { position: relative; text-align: center; max-width: 760px; margin: 0 auto; }
.ga-hero h1 { color: #fff; font-size: 46px; font-weight: 800; letter-spacing: -.03em; margin: 0 0 18px; }
.ga-hero p { font-size: 20px; color: rgba(255,255,255,.9); margin: 0 auto 8px; max-width: 620px; }
.ga-hero__search { margin-top: 40px; }
.ga-hero__free { display: inline-block; margin-top: 22px; font-size: 14px; color: rgba(255,255,255,.85); background: rgba(255,255,255,.14); padding: 6px 16px; border-radius: 20px; }

/* ============================================================
   How it works
   ============================================================ */
.ga-steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ga-how { text-align: center; padding: 8px; }
.ga-how__num { width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%; background: var(--ga-ocean-soft); color: var(--ga-ocean); display: flex; align-items: center; justify-content: center; font-family: var(--ga-font-display); font-weight: 800; font-size: 22px; }
.ga-how h3 { font-size: 19px; margin: 0 0 8px; }
.ga-how p { color: var(--ga-text-mid); font-size: 16px; margin: 0; }

/* ============================================================
   Stats bar band
   ============================================================ */
.ga-band { background: #fff; border-top: 1px solid var(--ga-border-light); border-bottom: 1px solid var(--ga-border-light); }

/* ============================================================
   CTA band (register)
   ============================================================ */
.ga-cta-band { background: var(--ga-ink); color: #fff; border-radius: 20px; padding: 48px; text-align: center; }
.ga-cta-band h2 { color: #fff; font-size: 30px; margin: 0 0 12px; }
.ga-cta-band p { color: rgba(255,255,255,.75); font-size: 18px; margin: 0 auto 24px; max-width: 560px; }
.ga-btn-hero { display: inline-flex; align-items: center; gap: 8px; background: var(--ga-coral); color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; padding: 14px 30px; border-radius: 10px; transition: background .15s, transform .15s; }
.ga-btn-hero:hover { background: var(--ga-coral-dark); transform: translateY(-1px); color: #fff; }

/* ============================================================
   Testimonials
   ============================================================ */
.ga-testimonials { position: relative; max-width: 720px; margin: 0 auto; }
.ga-testimonial { background: #fff; border: 1px solid var(--ga-border-light); border-radius: 18px; padding: 36px; text-align: center; box-shadow: 0 10px 30px rgba(30,41,59,.06); }
.ga-testimonial__stars { color: #F59E0B; font-size: 18px; letter-spacing: 2px; margin-bottom: 14px; }
.ga-testimonial__text { font-size: 19px; line-height: 1.6; color: var(--ga-text); margin: 0 0 18px; }
.ga-testimonial__who { font-weight: 700; color: var(--ga-ink); }
.ga-testimonial__where { color: var(--ga-text-light); font-size: 14px; }
.ga-testimonial__dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.ga-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ga-border); border: none; cursor: pointer; padding: 0; transition: background .15s, transform .15s; }
.ga-dot.is-active { background: var(--ga-ocean); transform: scale(1.2); }

/* ============================================================
   Single guide page
   ============================================================ */
.ga-guide-single { max-width: 820px; margin: 0 auto; }
.ga-guide-single__eyebrow { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--ga-coral-dark); background: var(--ga-coral-soft); padding: 5px 14px; border-radius: 20px; margin-bottom: 16px; }
.ga-guide-single h1 { font-size: 38px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 16px; }
.ga-guide-single__intro { font-size: 19px; color: var(--ga-text-mid); margin-bottom: 32px; }
.ga-guide-single__corridor { display: inline-flex; align-items: center; gap: 10px; background: var(--ga-ocean-soft); color: var(--ga-ocean-dark); font-weight: 700; padding: 8px 18px; border-radius: 24px; margin-bottom: 30px; }

/* ============================================================
   Guides archive
   ============================================================ */
.ga-archive-head { text-align: center; max-width: 640px; margin: 0 auto 44px; }

/* ============================================================
   Content pages (About, Contact, generic)
   ============================================================ */
.ga-page { max-width: 760px; margin: 0 auto; }
.ga-page h1 { font-size: 38px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 20px; }
.ga-page h2 { font-size: 26px; margin: 36px 0 12px; }
.ga-page p, .ga-page li { font-size: 17px; line-height: 1.7; }

/* ============================================================
   Footer
   ============================================================ */
.ga-footer { background: var(--ga-ink); color: rgba(255,255,255,.55); padding: 56px 0 28px; margin-top: 40px; }
.ga-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 32px; margin-bottom: 32px; }
.ga-footer__desc { font-size: 15px; line-height: 1.6; max-width: 280px; margin: 14px 0 0; color: rgba(255,255,255,.4); }
.ga-footer h4 { color: rgba(255,255,255,.7); font-size: 15px; letter-spacing: .04em; margin: 0 0 14px; }
.ga-footer a { display: block; color: rgba(255,255,255,.45); text-decoration: none; font-size: 15px; padding: 4px 0; }
.ga-footer a:hover { color: #fff; }
.ga-footer__services span { display: block; font-size: 15px; padding: 4px 0; color: rgba(255,255,255,.45); }
.ga-footer__bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255,255,255,.3); }
.ga-footer__bottom a { display: inline; color: rgba(255,255,255,.3); }
.ga-footer__legal { display: flex; gap: 18px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
	.ga-footer__grid { grid-template-columns: 1fr 1fr; }
	.ga-steps-row { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 720px) {
	.ga-hero h1 { font-size: 34px; }
	.ga-hero p { font-size: 18px; }
	.ga-section__title { font-size: 27px; }
	.ga-nav { position: fixed; top: 68px; left: 0; right: 0; background: var(--ga-cream); flex-direction: column; align-items: stretch; padding: 12px 24px 20px; border-bottom: 1px solid var(--ga-border); transform: translateY(-120%); transition: transform .25s ease; gap: 4px; }
	.ga-nav.is-open { transform: translateY(0); }
	.ga-nav a { padding: 12px 14px; }
	.ga-burger { display: block; }
	.ga-footer__grid { grid-template-columns: 1fr; }
	.ga-cta-band { padding: 32px 22px; }
	.ga-page h1, .ga-guide-single h1 { font-size: 30px; }
}
