/*
Theme Name: GeriSpace
Theme URI: https://gerispace.com
Author: Dr. Yemi Agboola, DNP
Author URI: https://gerispace.com
Description: A warm, trustworthy, and highly accessible theme for GeriSpace — bridging the knowledge gap in elder care. Built for caregivers and older adults with large readable type, calming colors, and a focus on proactive prevention.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.0
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: gerispace
*/

/* =========================================================
   GeriSpace — Design System
   ========================================================= */
:root {
  /* Brand palette — calming, clinical-warm */
  --gs-teal:        #2f9c95;   /* primary */
  --gs-teal-600:    #22847e;
  --gs-teal-700:    #15585a;   /* deep teal */
  --gs-teal-800:    #0f3f43;
  --gs-teal-900:    #0a2e31;

  --gs-coral:       #e8775b;   /* warm CTA accent */
  --gs-coral-600:   #d65f44;
  --gs-gold:        #e9b949;   /* highlight */
  --gs-redflag:     #cf4b39;   /* "Red Flag" badge */

  --gs-cream:       #fbf7f1;   /* page background */
  --gs-sand:        #f3ebdf;   /* alt section */
  --gs-mist:        #eef5f4;   /* soft teal tint */
  --gs-white:       #ffffff;

  --gs-ink:         #213a3e;   /* primary text */
  --gs-muted:       #5e767a;   /* secondary text */
  --gs-line:        #e4ddd0;   /* borders on cream */
  --gs-line-soft:   #eee7da;

  /* Type */
  --gs-display: "Fraunces", Georgia, "Times New Roman", serif;
  --gs-body: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Sizing — generous, accessible */
  --gs-base: 1.125rem;          /* 18px */
  --gs-radius: 18px;
  --gs-radius-sm: 12px;
  --gs-radius-pill: 999px;

  --gs-shadow-sm: 0 2px 8px rgba(15, 63, 67, 0.06);
  --gs-shadow: 0 10px 30px rgba(15, 63, 67, 0.10);
  --gs-shadow-lg: 0 24px 60px rgba(15, 63, 67, 0.16);

  --gs-maxw: 1180px;
  --gs-gap: clamp(1.25rem, 3vw, 2.25rem);
}

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--gs-body);
  font-size: var(--gs-base);
  line-height: 1.7;
  color: var(--gs-ink);
  background: var(--gs-cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--gs-teal-600); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--gs-coral-600); }

h1, h2, h3, h4 {
  font-family: var(--gs-display);
  font-weight: 600;
  line-height: 1.12;
  color: var(--gs-teal-800);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
h4 { font-size: 1.18rem; }

p { margin: 0 0 1.1em; }

ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li { margin-bottom: .5em; }

strong { font-weight: 800; color: var(--gs-teal-800); }

hr { border: 0; height: 1px; background: var(--gs-line); margin: 2.5rem 0; }

::selection { background: var(--gs-coral); color: #fff; }

/* Accessible focus */
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--gs-gold);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 1000;
  background: var(--gs-teal-800); color: #fff; padding: .8rem 1.2rem;
  border-radius: 0 0 10px 0; font-weight: 700;
}
.skip-link:focus { left: 0; color: #fff; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px;
  overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap;
}

/* =========================================================
   Layout helpers
   ========================================================= */
.gs-wrap { width: 100%; max-width: var(--gs-maxw); margin: 0 auto; padding: 0 clamp(1.1rem, 4vw, 2rem); }
.gs-narrow { max-width: 800px; }
.gs-section { padding: clamp(3.2rem, 7vw, 6rem) 0; }
.gs-section--tight { padding: clamp(2.2rem, 5vw, 3.5rem) 0; }
.gs-center { text-align: center; }

.gs-eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--gs-body); font-weight: 800; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--gs-teal); margin: 0 0 .9rem;
}
.gs-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gs-coral); border-radius: 2px; }
.gs-center .gs-eyebrow { justify-content: center; }

.gs-lead { font-size: clamp(1.15rem, 2vw, 1.35rem); color: var(--gs-muted); line-height: 1.6; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--gs-body); font-weight: 800; font-size: 1.02rem;
  padding: .92em 1.6em; border-radius: var(--gs-radius-pill);
  border: 2px solid transparent; cursor: pointer; text-align: center;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  line-height: 1;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--gs-coral); color: #fff; box-shadow: 0 8px 20px rgba(232,119,91,.32); }
.btn--primary:hover { background: var(--gs-coral-600); color: #fff; box-shadow: 0 12px 26px rgba(232,119,91,.4); }

.btn--teal { background: var(--gs-teal); color: #fff; box-shadow: 0 8px 20px rgba(47,156,149,.28); }
.btn--teal:hover { background: var(--gs-teal-600); color: #fff; }

.btn--ghost { background: transparent; color: var(--gs-teal-700); border-color: var(--gs-teal); }
.btn--ghost:hover { background: var(--gs-teal); color: #fff; }

.btn--light { background: #fff; color: var(--gs-teal-700); }
.btn--light:hover { background: var(--gs-cream); color: var(--gs-teal-800); }

.btn--yt { background: #ff0000; color: #fff; }
.btn--yt:hover { background: #d90000; color: #fff; }

.btn--lg { font-size: 1.1rem; padding: 1.05em 1.9em; }

/* =========================================================
   Header / nav
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,241,.88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--gs-line-soft);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.2rem; min-height: 76px;
}
.site-brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-brand svg { display: block; height: 42px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: .25rem; }
.primary-nav ul { list-style: none; display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; }
.primary-nav a {
  display: inline-block; padding: .6rem .95rem; border-radius: var(--gs-radius-pill);
  font-weight: 700; color: var(--gs-ink); font-size: 1.02rem;
}
.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a { background: var(--gs-mist); color: var(--gs-teal-700); }

.header-actions { display: flex; align-items: center; gap: .65rem; flex-shrink: 0; }

/* Mobile nav */
.nav-toggle {
  display: none; background: var(--gs-teal-700); color: #fff; border: 0;
  width: 48px; height: 48px; border-radius: 12px; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: var(--gs-white); border-bottom: 1px solid var(--gs-line);
    box-shadow: var(--gs-shadow); padding: .6rem;
    max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease;
  }
  .primary-nav.open { max-height: 80vh; padding: .6rem; }
  .primary-nav ul { flex-direction: column; align-items: stretch; width: 100%; gap: 2px; }
  .primary-nav a { padding: .85rem 1rem; border-radius: 10px; font-size: 1.1rem; }
  .header-actions .btn--subscribe-text { display: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--gs-mist) 0%, var(--gs-cream) 100%); }
.hero__inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; padding: clamp(2.8rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem);
}
.hero h1 { margin-bottom: .35em; }
.hero h1 .accent { color: var(--gs-coral); }
.hero__sub { font-size: clamp(1.15rem, 2.1vw, 1.4rem); color: var(--gs-muted); max-width: 36ch; margin-bottom: 1.8rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.4rem; align-items: center; color: var(--gs-muted); font-weight: 700; font-size: .98rem; }
.hero__trust .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gs-teal); display: inline-block; margin-right: .5rem; }

.hero__art { position: relative; }
.hero__art .art-card {
  background: #fff; border-radius: 26px; box-shadow: var(--gs-shadow-lg);
  padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--gs-line-soft);
}
.hero__art .art-illus { width: 100%; height: auto; display: block; border-radius: 16px; }
.hero__badge {
  position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--gs-shadow);
  padding: .85rem 1.05rem; display: flex; align-items: center; gap: .7rem; font-weight: 800; color: var(--gs-teal-800);
  border: 1px solid var(--gs-line-soft);
}
.hero__badge .ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex-shrink: 0; }
.hero__badge small { display: block; font-weight: 700; color: var(--gs-muted); font-size: .8rem; }
.hero__badge--1 { bottom: -18px; left: -18px; }
.hero__badge--2 { top: -18px; right: -10px; }

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__trust { justify-content: center; }
  .hero__badge--1 { left: 8px; }
  .hero__badge--2 { right: 8px; }
}

/* =========================================================
   Section heading block
   ========================================================= */
.gs-head { max-width: 720px; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.gs-head.gs-center { text-align: center; }
.gs-head p { color: var(--gs-muted); font-size: 1.12rem; margin-bottom: 0; }

/* =========================================================
   Value cards (Why proactive care)
   ========================================================= */
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gs-gap); }
.value-card {
  background: #fff; border: 1px solid var(--gs-line-soft); border-radius: var(--gs-radius);
  padding: clamp(1.6rem, 3vw, 2.2rem); box-shadow: var(--gs-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease;
}
.value-card:hover { transform: translateY(-4px); box-shadow: var(--gs-shadow); }
.value-card .ic {
  width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 1.1rem;
}
.value-card .ic svg { width: 30px; height: 30px; }
.value-card h3 { color: var(--gs-teal-800); margin-bottom: .4em; }
.value-card p { color: var(--gs-muted); margin-bottom: 0; }

.ic--teal { background: var(--gs-mist); color: var(--gs-teal-700); }
.ic--coral { background: #fdeee9; color: var(--gs-coral-600); }
.ic--gold { background: #fbf2d8; color: #b07d12; }

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

/* =========================================================
   Resource / Library cards
   ========================================================= */
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gs-gap); }
@media (max-width: 980px) { .resource-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .resource-grid { grid-template-columns: 1fr; } }

.resource-card {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--gs-line-soft); border-radius: var(--gs-radius);
  overflow: hidden; box-shadow: var(--gs-shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease; height: 100%;
}
.resource-card:hover { transform: translateY(-4px); box-shadow: var(--gs-shadow); }
.resource-card__top {
  position: relative; padding: 1.5rem 1.5rem 0; min-height: 92px;
  background: linear-gradient(135deg, var(--gs-mist), #fff);
}
.resource-card__icon { width: 52px; height: 52px; border-radius: 14px; background: #fff; box-shadow: var(--gs-shadow-sm); display: grid; place-items: center; color: var(--gs-teal-700); }
.resource-card__icon svg { width: 28px; height: 28px; }
.resource-card__body { padding: 1.2rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.resource-card__topic { font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--gs-teal); margin-bottom: .5rem; }
.resource-card h3 { font-size: 1.32rem; margin-bottom: .45em; }
.resource-card h3 a { color: var(--gs-teal-800); }
.resource-card h3 a:hover { color: var(--gs-coral-600); }
.resource-card p { color: var(--gs-muted); margin-bottom: 1.1rem; }
.resource-card__more { margin-top: auto; font-weight: 800; color: var(--gs-coral-600); display: inline-flex; align-items: center; gap: .4rem; }
.resource-card__more svg { width: 1em; height: 1em; transition: transform .18s ease; }
.resource-card:hover .resource-card__more svg { transform: translateX(4px); }

.badge-redflag {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: var(--gs-redflag); color: #fff; font-weight: 800; font-size: .72rem;
  letter-spacing: .06em; text-transform: uppercase; padding: .35rem .7rem; border-radius: var(--gs-radius-pill);
  display: inline-flex; align-items: center; gap: .35rem;
}
.badge-redflag svg { width: .9em; height: .9em; }

/* =========================================================
   About teaser (home)
   ========================================================= */
.about-teaser { background: var(--gs-sand); }
.about-teaser__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.6rem, 4vw, 3.5rem); align-items: center; }
.about-portrait {
  position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--gs-shadow-lg);
  background: linear-gradient(160deg, var(--gs-teal), var(--gs-teal-700)); aspect-ratio: 4/5;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }
.about-portrait__ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.92); text-align: center; padding: 1.5rem; }
.about-portrait__ph svg { width: 84px; height: 84px; opacity: .9; margin-bottom: .8rem; }
.about-credential {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  background: rgba(255,255,255,.95); border-radius: 14px; padding: .85rem 1rem; box-shadow: var(--gs-shadow);
  display: flex; align-items: center; gap: .7rem;
}
.about-credential .dnp { background: var(--gs-teal); color: #fff; font-weight: 800; border-radius: 10px; padding: .5rem .65rem; font-size: .85rem; }
.about-credential b { color: var(--gs-teal-800); display: block; font-size: 1.02rem; }
.about-credential small { color: var(--gs-muted); }

.about-teaser blockquote {
  margin: 0 0 1.4rem; padding: 0 0 0 1.2rem; border-left: 4px solid var(--gs-coral);
  font-family: var(--gs-display); font-size: clamp(1.3rem, 2.4vw, 1.7rem); color: var(--gs-teal-800);
  line-height: 1.4; font-weight: 500;
}
.about-stats { display: flex; flex-wrap: wrap; gap: 1.8rem; margin: 1.6rem 0; }
.about-stats .stat b { font-family: var(--gs-display); font-size: 2.2rem; color: var(--gs-coral); display: block; line-height: 1; }
.about-stats .stat span { color: var(--gs-muted); font-weight: 700; font-size: .95rem; }

@media (max-width: 820px) { .about-teaser__inner { grid-template-columns: 1fr; } .about-portrait { max-width: 360px; margin: 0 auto; } }

/* =========================================================
   YouTube / subscribe band
   ========================================================= */
.subscribe { background: linear-gradient(150deg, var(--gs-teal-700), var(--gs-teal-900)); color: #fff; position: relative; overflow: hidden; }
.subscribe::after { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: rgba(255,255,255,.05); top: -160px; right: -120px; }
.subscribe__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; position: relative; }
.subscribe h2 { color: #fff; }
.subscribe p { color: rgba(255,255,255,.85); font-size: 1.12rem; }
.subscribe .gs-eyebrow { color: var(--gs-gold); }
.subscribe .gs-eyebrow::before { background: var(--gs-gold); }
.subscribe__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.video-frame {
  position: relative; aspect-ratio: 16/9; border-radius: 18px; overflow: hidden;
  background: #000; box-shadow: var(--gs-shadow-lg); border: 4px solid rgba(255,255,255,.12);
}
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame__ph { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(135deg, #1b1b1b, #2c2c2c); color: #fff; text-align: center; }
.video-frame__ph .play { width: 76px; height: 76px; border-radius: 50%; background: #ff0000; display: grid; place-items: center; margin: 0 auto 1rem; box-shadow: 0 10px 30px rgba(255,0,0,.4); }
.video-frame__ph .play svg { width: 32px; height: 32px; color: #fff; margin-left: 4px; }
@media (max-width: 820px) { .subscribe__inner { grid-template-columns: 1fr; } }

/* =========================================================
   Q&A / Contact CTA band
   ========================================================= */
.qa-cta { background: var(--gs-mist); }
.qa-cta__card {
  background: #fff; border-radius: var(--gs-radius); box-shadow: var(--gs-shadow);
  padding: clamp(2rem, 5vw, 3.5rem); text-align: center; border: 1px solid var(--gs-line-soft);
  position: relative; overflow: hidden;
}
.qa-cta__card .q-ic { width: 70px; height: 70px; border-radius: 20px; background: #fdeee9; color: var(--gs-coral-600); display: grid; place-items: center; margin: 0 auto 1.2rem; }
.qa-cta__card .q-ic svg { width: 36px; height: 36px; }

/* =========================================================
   Disclaimer band
   ========================================================= */
.disclaimer {
  background: #fdeee9; border-top: 1px solid #f6d6cc;
}
.disclaimer__inner { display: flex; gap: 1rem; align-items: flex-start; padding: 1.5rem 0; }
.disclaimer .ic { flex-shrink: 0; width: 40px; height: 40px; border-radius: 11px; background: var(--gs-redflag); color: #fff; display: grid; place-items: center; }
.disclaimer .ic svg { width: 22px; height: 22px; }
.disclaimer p { margin: 0; color: #7a3326; font-size: .98rem; line-height: 1.55; }
.disclaimer strong { color: var(--gs-redflag); }

/* =========================================================
   Page header (interior pages)
   ========================================================= */
.page-hero { background: linear-gradient(180deg, var(--gs-mist), var(--gs-cream)); padding: clamp(2.6rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-hero .gs-wrap { max-width: 820px; text-align: center; }
.page-hero h1 { margin-bottom: .3em; }
.page-hero p { color: var(--gs-muted); font-size: 1.18rem; margin: 0 auto; max-width: 60ch; }

.breadcrumbs { font-size: .92rem; color: var(--gs-muted); margin-bottom: 1rem; }
.breadcrumbs a { color: var(--gs-teal-600); font-weight: 700; }
.breadcrumbs .sep { margin: 0 .4rem; opacity: .6; }

/* =========================================================
   Prose (page content / single resource)
   ========================================================= */
.prose { font-size: 1.13rem; line-height: 1.75; color: var(--gs-ink); }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.prose h3 { margin-top: 1.8em; color: var(--gs-teal-700); }
.prose h2 + h3 { margin-top: 1em; }
.prose ul { padding-left: 1.3em; }
.prose ul li { position: relative; }
.prose a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(47,156,149,.4); }
.prose blockquote {
  margin: 2rem 0; padding: 1.3rem 1.6rem; background: var(--gs-mist);
  border-left: 5px solid var(--gs-teal); border-radius: 0 14px 14px 0;
  font-family: var(--gs-display); font-size: 1.25rem; color: var(--gs-teal-800); line-height: 1.45;
}
.prose blockquote p:last-child { margin-bottom: 0; }
.prose img { border-radius: 14px; margin: 1.6rem 0; box-shadow: var(--gs-shadow); }

/* Checklist callout (used in resources) */
.gs-checklist {
  background: #fff; border: 1px solid var(--gs-line-soft); border-radius: var(--gs-radius);
  padding: clamp(1.4rem, 3vw, 2rem); box-shadow: var(--gs-shadow-sm); margin: 1.8rem 0;
}
.gs-checklist h3 { margin-top: 0; color: var(--gs-teal-800); display: flex; align-items: center; gap: .6rem; }
.gs-checklist ul { list-style: none; padding: 0; margin: 0; }
.gs-checklist li { display: flex; gap: .75rem; padding: .7rem 0; border-bottom: 1px dashed var(--gs-line); margin: 0; }
.gs-checklist li:last-child { border-bottom: 0; }
.gs-checklist li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--gs-teal); margin-top: 3px; }
.gs-callout--redflag { background: #fdeee9; border-color: #f6d6cc; }
.gs-callout--redflag h3 { color: var(--gs-redflag); }
.gs-callout--redflag li svg { color: var(--gs-redflag); }

/* =========================================================
   Forms (Contact / Q&A)
   ========================================================= */
.gs-form { display: grid; gap: 1.1rem; }
.gs-field { display: grid; gap: .4rem; }
.gs-field.row2 { grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 560px){ .gs-field.row2 { grid-template-columns: 1fr; } }
.gs-form label { font-weight: 800; color: var(--gs-teal-800); font-size: .98rem; }
.gs-form .req { color: var(--gs-coral-600); }
.gs-form input, .gs-form textarea, .gs-form select {
  font-family: var(--gs-body); font-size: 1.05rem; color: var(--gs-ink);
  padding: .85rem 1rem; border: 2px solid var(--gs-line); border-radius: 12px;
  background: #fff; width: 100%; transition: border-color .18s ease, box-shadow .18s ease;
}
.gs-form input:focus, .gs-form textarea:focus, .gs-form select:focus {
  outline: none; border-color: var(--gs-teal); box-shadow: 0 0 0 4px rgba(47,156,149,.15);
}
.gs-form textarea { min-height: 160px; resize: vertical; }
.gs-form .help { font-size: .9rem; color: var(--gs-muted); }
.gs-notice { display: flex; align-items: flex-start; gap: .6rem; padding: 1rem 1.2rem; border-radius: 12px; font-weight: 700; margin-bottom: 1.2rem; }
.gs-notice svg { flex: 0 0 auto; width: 1.4em; height: 1.4em; margin-top: 1px; }
.gs-notice--ok { background: #e6f4ec; color: #1d6b41; border: 1px solid #bfe3cd; }
.gs-notice--err { background: #fdeee9; color: #a23a26; border: 1px solid #f6d6cc; }

.contact-grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(1.6rem, 4vw, 3rem); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-side .info-card {
  background: #fff; border: 1px solid var(--gs-line-soft); border-radius: var(--gs-radius);
  padding: 1.6rem; box-shadow: var(--gs-shadow-sm); margin-bottom: 1.2rem;
}
.contact-side .info-card h3 { margin-top: 0; }
.info-row { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1rem; }
.info-row:last-child { margin-bottom: 0; }
.info-row .ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--gs-mist); color: var(--gs-teal-700); display: grid; place-items: center; }
.info-row .ic svg { width: 22px; height: 22px; }
.info-row b { display: block; color: var(--gs-teal-800); }
.info-row span, .info-row a { color: var(--gs-muted); }

/* =========================================================
   About page specifics
   ========================================================= */
.about-hero__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.8rem,4vw,3.5rem); align-items: center; }
@media (max-width:820px){ .about-hero__inner { grid-template-columns: 1fr; text-align:center; } .about-hero .about-portrait{ max-width:340px; margin:0 auto; } }
.about-hero .tag { display:inline-block; background: var(--gs-coral); color:#fff; font-weight:800; padding:.4rem .9rem; border-radius: var(--gs-radius-pill); font-size:.85rem; margin-bottom:1rem; }
.about-hero h1 { margin-bottom:.2em; }
.about-hero .role { font-family: var(--gs-display); font-size: clamp(1.2rem,2.4vw,1.6rem); color: var(--gs-coral); margin-bottom: 1rem; }

.expertise-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: var(--gs-gap); }
@media (max-width:820px){ .expertise-grid { grid-template-columns:1fr; } }
.expertise-card { background:#fff; border:1px solid var(--gs-line-soft); border-radius:var(--gs-radius); padding: clamp(1.5rem,3vw,2rem); box-shadow: var(--gs-shadow-sm); }
.expertise-card .ic { width:54px;height:54px;border-radius:14px; display:grid;place-items:center;margin-bottom:1rem; }
.expertise-card .ic svg{ width:28px;height:28px; }
.expertise-card h3{ margin-bottom:.4em; }
.expertise-card p{ color:var(--gs-muted); margin-bottom:0; }

/* =========================================================
   Footer
   ========================================================= */
.site-footer { background: var(--gs-teal-900); color: rgba(255,255,255,.78); padding: clamp(3rem,6vw,4.5rem) 0 2rem; }
.site-footer a { color: rgba(255,255,255,.78); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: clamp(1.5rem,4vw,3rem); margin-bottom: 2.5rem; }
@media (max-width: 820px){ .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid { grid-template-columns: 1fr; } }
.footer-brand svg { height: 40px; width:auto; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,.62); font-size: .98rem; max-width: 34ch; }
.footer-col h4 { color: #fff; font-family: var(--gs-body); font-weight: 800; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .6rem; }
.social-row { display: flex; gap: .6rem; margin-top: .3rem; }
.social-row a { width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: background .2s ease, transform .2s ease; }
.social-row a:hover { background: var(--gs-coral); transform: translateY(-2px); }
.social-row svg { width: 20px; height: 20px; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .9rem; color: rgba(255,255,255,.55); }
.footer-bottom a { font-weight: 700; }

/* =========================================================
   Pagination / misc
   ========================================================= */
.gs-pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; }
.gs-pagination a, .gs-pagination span {
  padding: .6rem 1rem; border-radius: 10px; font-weight: 800; background: #fff;
  border: 1px solid var(--gs-line); color: var(--gs-teal-700);
}
.gs-pagination .current { background: var(--gs-teal); color: #fff; border-color: var(--gs-teal); }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--gs-muted); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
