/*
Theme Name: HealthyCarry GP
Theme URI: https://healthycarry.com/
Description: Performance-first GeneratePress child theme for HealthyCarry.
Author: HealthyCarry
Template: generatepress
Version: 1.0.0
Text Domain: healthycarry
*/

:root {
  --hc-navy: #0e2a3b;
  --hc-teal: #127f75;
  --hc-teal-bright: #16a394;
  --hc-seafoam: #e9f7f4;
  --hc-sand: #f7f3ed;
  --hc-coral: #c83b31;
  --hc-ink: #1a2730;
  --hc-muted: #596b76;
  --hc-line: #d9e4e8;
  --hc-white: #fff;
  --hc-shadow: 0 18px 60px rgba(14, 42, 59, .10);
  --hc-radius: 20px;
}

html { scroll-behavior: smooth; }
body {
  color: var(--hc-ink);
  background: var(--hc-white);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}
h1, h2, h3, h4 {
  color: var(--hc-navy);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.15;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 5vw, 4.8rem); letter-spacing: -.045em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 3rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.65rem); }
a { color: var(--hc-teal); text-underline-offset: .18em; }
a:hover, a:focus { color: var(--hc-navy); }
:focus-visible { outline: 3px solid var(--hc-coral); outline-offset: 4px; }
img { height: auto; }

.site-header { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--hc-line); background: rgba(255,255,255,.96); backdrop-filter: blur(14px); }
.inside-header { padding-block: 15px; }
.site-header .site-branding { display:none; }
.site-logo img, .site-branding img { width: min(310px, 70vw); height: auto; }
.main-navigation, .main-navigation ul ul { background: var(--hc-white); }
.main-navigation .main-nav ul li a { color: var(--hc-navy); font-weight: 650; font-size: .92rem; letter-spacing: -.01em; }
.main-navigation .main-nav ul li a:hover, .main-navigation .main-nav ul li[class*="current-menu-"] > a { color: var(--hc-teal); }
.menu-toggle { color: var(--hc-navy); }

.hc-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.hc-hero { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 132px) 0 78px; background: linear-gradient(135deg, var(--hc-seafoam), #fff 58%, var(--hc-sand)); }
.hc-hero::after { content:""; position:absolute; width:340px; height:340px; right:-120px; top:-90px; border:70px solid rgba(22,163,148,.08); border-radius:50%; }
.hc-hero-grid { display:grid; grid-template-columns: 1.12fr .88fr; gap: clamp(42px, 7vw, 90px); align-items:center; position:relative; z-index:1; }
.hc-kicker { display:inline-flex; align-items:center; gap:9px; margin:0 0 20px; color:var(--hc-teal); font-size:.78rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.hc-kicker::before { content:""; width:28px; height:2px; background:currentColor; }
.hc-hero h1 { margin:0 0 25px; max-width:760px; }
.hc-hero-copy { max-width:670px; color:var(--hc-muted); font-size:clamp(1.05rem, 1.6vw, 1.24rem); }
.hc-actions { display:flex; flex-wrap:wrap; gap:14px; margin-top:32px; }
.hc-btn { display:inline-flex; min-height:50px; align-items:center; justify-content:center; padding:12px 22px; border:2px solid var(--hc-navy); border-radius:999px; background:var(--hc-navy); color:#fff; font-weight:750; text-decoration:none; transition:.2s ease; }
.hc-btn:hover { transform:translateY(-2px); background:var(--hc-teal); border-color:var(--hc-teal); color:#fff; }
.hc-btn--ghost { background:transparent; color:var(--hc-navy); }
.hc-trust-card { padding:32px; border:1px solid rgba(14,42,59,.1); border-radius:28px; background:rgba(255,255,255,.86); box-shadow:var(--hc-shadow); }
.hc-trust-card h2 { margin-top:0; font-size:1.55rem; }
.hc-trust-list { display:grid; gap:18px; padding:0; margin:24px 0 0; list-style:none; }
.hc-trust-list li { display:grid; grid-template-columns:34px 1fr; gap:12px; align-items:start; }
.hc-check { display:grid; width:30px; height:30px; place-items:center; border-radius:50%; background:var(--hc-seafoam); color:var(--hc-teal); font-weight:900; }

.hc-section { padding:clamp(70px, 9vw, 118px) 0; }
.hc-section--tint { background:var(--hc-sand); }
.hc-section-head { display:flex; justify-content:space-between; gap:30px; align-items:end; margin-bottom:38px; }
.hc-section-head h2 { margin:0; }
.hc-section-head p { max-width:530px; margin:0; color:var(--hc-muted); }
.hc-grid { display:grid; grid-template-columns:repeat(3, 1fr); gap:28px; }
.hc-card { overflow:hidden; border:1px solid var(--hc-line); border-radius:var(--hc-radius); background:#fff; box-shadow:0 8px 30px rgba(14,42,59,.06); transition:.22s ease; }
.hc-card:hover { transform:translateY(-5px); box-shadow:var(--hc-shadow); }
.hc-card-media { display:block; aspect-ratio:16/10; overflow:hidden; background:var(--hc-seafoam); }
.hc-card-media img { width:100%; height:100%; object-fit:cover; transition:transform .35s ease; }
.hc-card:hover .hc-card-media img { transform:scale(1.025); }
.hc-card-body { padding:25px; }
.hc-card-meta { color:var(--hc-teal); font-size:.75rem; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
.hc-card h3 { margin:9px 0 12px; }
.hc-card h3 a { color:var(--hc-navy); text-decoration:none; }
.hc-card p { margin:0; color:var(--hc-muted); font-size:.95rem; }
.hc-topic-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:15px; }
.hc-topic { min-height:150px; padding:24px; border:1px solid var(--hc-line); border-radius:18px; background:#fff; color:var(--hc-navy); text-decoration:none; }
.hc-topic:hover { border-color:var(--hc-teal); background:var(--hc-seafoam); }
.hc-topic strong { display:block; margin-bottom:7px; font-family:Georgia,serif; font-size:1.18rem; }
.hc-topic span { color:var(--hc-muted); font-size:.85rem; line-height:1.45; }

.hc-newsletter { display:grid; grid-template-columns:1fr auto; gap:30px; align-items:center; padding:45px; border-radius:28px; background:var(--hc-navy); color:#fff; }
.hc-newsletter h2 { margin:0 0 10px; color:#fff; }
.hc-newsletter p { margin:0; color:#d4e2e8; }
.hc-newsletter .hc-btn { background:var(--hc-coral); border-color:var(--hc-coral); }

.hc-article { width:min(760px, calc(100% - 40px)); margin:0 auto; padding:clamp(50px,8vw,90px) 0; }
.hc-article-header { margin-bottom:34px; text-align:center; }
.hc-article-header h1 { font-size:clamp(2.2rem,5vw,4rem); margin:14px 0 20px; }
.hc-byline { color:var(--hc-muted); font-size:.9rem; }
.hc-featured { width:min(1100px, calc(100% - 40px)); margin:0 auto 36px; overflow:hidden; border-radius:28px; background:var(--hc-seafoam); }
.hc-featured img { display:block; width:100%; max-height:650px; object-fit:cover; }
.hc-article-content > p:first-of-type { color:#314650; font-size:1.14rem; }
.hc-article-content a { font-weight:650; }
.hc-article-content blockquote { margin:38px 0; padding:8px 0 8px 28px; border-left:4px solid var(--hc-teal); color:var(--hc-navy); font-family:Georgia,serif; font-size:1.25rem; }
.hc-note { margin:36px 0; padding:24px; border-radius:16px; background:var(--hc-seafoam); color:#29424d; font-size:.92rem; }
.hc-disclosure { border-left:4px solid var(--hc-coral); background:#fff4f1; }
.hc-share { display:flex; gap:12px; align-items:center; margin:34px 0; padding-block:20px; border-block:1px solid var(--hc-line); }
.hc-share a { font-weight:750; }
.hc-author { display:grid; grid-template-columns:68px 1fr; gap:20px; margin-top:44px; padding:28px; border:1px solid var(--hc-line); border-radius:18px; }
.hc-author img { border-radius:50%; }

.page:not(.home) .site-content { width:min(920px, calc(100% - 40px)); margin-inline:auto; padding-block:clamp(50px,8vw,90px); }
.page:not(.home) .site-main { margin:0; }
.page:not(.home) .inside-article { padding:0; }
.page:not(.home) .entry-title { margin-bottom:28px; font-size:clamp(2.2rem,5vw,4rem); }
.page:not(.home) .entry-content { max-width:760px; }
.page:not(.home) .entry-content h2 { margin-top:2.2em; font-size:clamp(1.55rem,3vw,2.25rem); }
.page:not(.home) .entry-content li { margin-bottom:.6em; }
.wpcf7-form { margin-top:32px; padding:clamp(24px,5vw,40px); border:1px solid var(--hc-line); border-radius:var(--hc-radius); background:var(--hc-sand); }
.wpcf7-form label { display:block; margin-bottom:8px; color:var(--hc-navy); font-weight:750; }
.wpcf7-form-control-wrap { display:block; margin-bottom:20px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea { width:100%; border:1px solid #aebfc6; border-radius:10px; background:#fff; color:var(--hc-ink); font:inherit; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"] { min-height:50px; padding:10px 14px; }
.wpcf7-form textarea { min-height:180px; padding:14px; resize:vertical; }
.wpcf7-form input[type="submit"] { min-height:50px; padding:12px 24px; border:0; border-radius:999px; background:var(--hc-navy); color:#fff; font-weight:800; cursor:pointer; }
.wpcf7-form input[type="submit"]:hover { background:var(--hc-teal); }
.wpcf7-not-valid-tip { color:#a32922; font-size:.88rem; }

.site-footer { background:var(--hc-navy); color:#d5e2e7; }
.site-footer a { color:#fff; }
.hc-footer { display:grid; grid-template-columns:1.3fr repeat(3,1fr); gap:42px; padding:66px 0 40px; }
.hc-footer h2, .hc-footer h3 { color:#fff; font-size:1.1rem; }
.hc-footer ul { padding:0; list-style:none; }
.hc-footer-bottom { padding:24px 0; border-top:1px solid rgba(255,255,255,.14); font-size:.82rem; }

@media (max-width: 900px) {
  .hc-hero-grid, .hc-newsletter { grid-template-columns:1fr; }
  .hc-grid { grid-template-columns:repeat(2,1fr); }
  .hc-topic-grid { grid-template-columns:repeat(2,1fr); }
  .hc-footer { grid-template-columns:repeat(2,1fr); }
}
@media (max-width: 620px) {
  body { font-size:16px; }
  .hc-wrap, .hc-article, .hc-featured { width:min(100% - 28px, 1180px); }
  .hc-hero { padding-top:58px; }
  .hc-grid, .hc-topic-grid, .hc-footer { grid-template-columns:1fr; }
  .hc-section-head { display:block; }
  .hc-section-head p { margin-top:14px; }
  .hc-trust-card, .hc-newsletter { padding:26px; }
}
