/*
Theme Name: Younetic Native
Theme URI: https://younetic.life/
Author: Younetic Mental Health & Wellness
Description: Lightweight native block theme for Younetic Mental Health & Wellness.
Version: 1.4.3
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: younetic-native
*/

:root {
  --y-navy: #0d3044;
  --y-navy-deep: #082638;
  --y-teal: #078e91;
  --y-teal-dark: #006e72;
  --y-coral: #ed766b;
  --y-mint: #dff4f1;
  --y-cream: #fbf8f2;
  --y-ink: #173447;
  --y-muted: #617582;
  --y-line: #dbe5e8;
  --y-white: #ffffff;
  --y-shadow: 0 18px 50px rgba(13,48,68,.10);
  --y-radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { color: var(--y-ink); background: var(--y-white); }
a { text-underline-offset: .18em; }
img { max-width: 100%; height: auto; }
.wp-site-blocks { overflow: hidden; }

.y-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.y-section { padding-block: clamp(64px, 8vw, 112px); }
.y-section-sm { padding-block: clamp(42px, 6vw, 72px); }
.y-eyebrow { color: var(--y-teal-dark); font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.y-lead { color: var(--y-muted); font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.7; }
.y-card { background: var(--y-white); border: 1px solid var(--y-line); border-radius: var(--y-radius); box-shadow: 0 10px 30px rgba(13,48,68,.06); padding: clamp(26px, 4vw, 42px); height: 100%; }
.y-card h3, .y-card h2 { margin-top: 0; }
.y-card:hover { transform: translateY(-3px); box-shadow: var(--y-shadow); }
.y-card { transition: transform .2s ease, box-shadow .2s ease; }
.y-icon { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--y-mint); color: var(--y-teal-dark); font-weight: 900; margin-bottom: 22px; }
.y-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.y-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.y-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.y-button, .wp-block-button__link { border-radius: 999px !important; font-weight: 800; padding: .9rem 1.35rem !important; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.y-button:hover, .wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(13,48,68,.18); }
.y-button--teal { background: var(--y-teal); color: var(--y-white) !important; }
.y-button--navy { background: var(--y-navy); color: var(--y-white) !important; }
.y-button--coral { background: var(--y-coral); color: var(--y-navy-deep) !important; }
.y-button--outline { background: transparent; color: var(--y-teal-dark); border: 2px solid var(--y-teal); }
.y-button--light { background: var(--y-white); color: var(--y-navy-deep) !important; border: 2px solid rgba(13,48,68,.12); }

.y-top-actions { background: var(--y-navy-deep); color: white; }
.y-top-actions .y-wrap { min-height: 46px; display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.y-top-actions a { color: white; text-decoration: none; font-weight: 750; font-size: .88rem; padding: 8px 12px; border-radius: 999px; }
.y-top-actions a:nth-last-child(2) { background: var(--y-coral); color: var(--y-navy-deep); }
.y-top-actions a:last-child { border: 1px solid rgba(255,255,255,.45); }

.y-main-header { background: rgba(255,255,255,.97); border-bottom: 1px solid var(--y-line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); }
.y-main-header .y-wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.y-brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--y-navy); flex: 0 0 auto; }
.y-brand-mark { display:block; width:52px; height:52px; flex:0 0 52px; object-fit:contain; }
.y-brand-copy { display:block; }
.y-brand-copy strong { display:block; font-size: 1.35rem; letter-spacing: .04em; line-height:1; }
.y-brand-copy small { display:block; font-size: .68rem; letter-spacing: .15em; color: var(--y-muted); margin-top: 7px; white-space:nowrap; }
.y-you { color:var(--y-teal); }
.y-netic { color:var(--y-coral); }
.y-desktop-nav > ul { display:flex; align-items:center; gap:clamp(14px,1.8vw,27px); list-style:none; padding:0; margin:0; }
.y-desktop-nav > ul > li { position:relative; }
.y-desktop-nav > ul > li > a { color:var(--y-navy); text-decoration:none; font-size:.89rem; font-weight:800; padding:30px 0; display:block; }
.y-desktop-nav > ul > li > a:after { content:''; display:block; height:2px; width:0; margin-top:4px; background:var(--y-coral); transition:width .2s ease; }
.y-desktop-nav > ul > li:hover > a:after,.y-desktop-nav > ul > li:focus-within > a:after { width:100%; }
.y-nav-preview { position:absolute; top:calc(100% - 8px); left:-24px; width:310px; padding:24px; background:white; border:1px solid var(--y-line); border-radius:18px; box-shadow:var(--y-shadow); opacity:0; visibility:hidden; transform:translateY(8px); transition:.18s ease; z-index:70; }
.y-nav-preview strong,.y-nav-preview span { display:block; }
.y-nav-preview strong { color:var(--y-navy); font-family:Georgia,serif; font-size:1.08rem; margin-bottom:8px; }
.y-nav-preview span { color:var(--y-muted); font-size:.84rem; line-height:1.55; }
.y-nav-preview a { display:inline-block; margin-top:14px; color:var(--y-teal-dark); font-size:.82rem; font-weight:850; }
.y-has-preview:hover .y-nav-preview,.y-has-preview:focus-within .y-nav-preview { opacity:1; visibility:visible; transform:translateY(0); }
.y-preview-right .y-nav-preview { left:auto; right:-18px; }
.y-mobile-menu { display:none; position:relative; }
.y-mobile-menu summary { cursor:pointer; color:var(--y-navy); font-weight:850; list-style:none; border:1px solid var(--y-line); border-radius:999px; padding:9px 14px; }
.y-mobile-menu summary::-webkit-details-marker { display:none; }
.y-mobile-menu nav { position:absolute; right:0; top:48px; width:260px; padding:14px; border:1px solid var(--y-line); border-radius:18px; background:white; box-shadow:var(--y-shadow); z-index:80; }
.y-mobile-menu nav a { display:block; color:var(--y-navy); text-decoration:none; font-weight:800; padding:11px 10px; border-bottom:1px solid var(--y-line); }
.y-mobile-menu nav a:last-child { border-bottom:0; }

.y-audience { display: grid; grid-template-columns: repeat(3,1fr); }
.y-audience a { text-align: center; padding: 16px 10px; font-weight: 850; text-decoration: none; }
.y-audience a:nth-child(1) { background: var(--y-teal); color: white; }
.y-audience a:nth-child(2) { background: var(--y-navy); color: white; }
.y-audience a:nth-child(3) { background: var(--y-coral); color: var(--y-navy-deep); }

.y-hero { background: radial-gradient(circle at 90% 8%, rgba(237,118,107,.22), transparent 28%), linear-gradient(135deg, #f5fbfa 0%, #ffffff 52%, #fdf5f1 100%); padding-block: clamp(74px, 10vw, 140px); position: relative; }
.y-hero:before { content:''; position:absolute; inset:0; background-image: radial-gradient(rgba(7,142,145,.15) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to right, transparent 0%, black 58%, black 100%); pointer-events:none; }
.y-hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(38px,7vw,88px); }
.y-hero h1 { font-size: clamp(2.65rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.045em; color: var(--y-navy); margin: 18px 0 24px; max-width: 12ch; }
.y-hero-visual { min-height: 480px; border-radius: 38px; background: linear-gradient(160deg, rgba(7,142,145,.92), rgba(13,48,68,.96)), url('https://i0.wp.com/younetic.life/wp-content/uploads/2023/01/what-we-offer.png?w=756&ssl=1') center/cover; box-shadow: var(--y-shadow); position: relative; overflow: hidden; }
.y-hero-visual:after { content:'Care that helps you keep moving.'; position:absolute; left:30px; right:30px; bottom:30px; background:rgba(255,255,255,.92); color:var(--y-navy); border-radius:22px; padding:22px; font-family:Georgia,serif; font-size:1.4rem; }
.y-state-line { display:flex; flex-wrap:wrap; gap:8px; margin-top:26px; }
.y-state-line span { background:white; border:1px solid var(--y-line); border-radius:999px; padding:8px 12px; font-size:.82rem; font-weight:750; }

.y-band { background: var(--y-navy); color: white; }
.y-band h2, .y-band h3 { color: white; }
.y-mint { background: var(--y-mint); }
.y-cream { background: var(--y-cream); }
.y-coral { background: var(--y-coral); color: var(--y-navy-deep); }
.y-split { display:grid; grid-template-columns:1fr 1fr; gap:clamp(34px,7vw,84px); align-items:center; }
.y-photo-panel { min-height:440px; border-radius:var(--y-radius); background:linear-gradient(145deg, rgba(13,48,68,.10),rgba(7,142,145,.18)), url('https://i0.wp.com/younetic.life/wp-content/uploads/2023/02/Illustration_mid-4x-768x747-1.png?fit=768%2C747&ssl=1') center/cover no-repeat; }
.y-steps { counter-reset: step; display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.y-step { background:white; border-radius:var(--y-radius); padding:32px; border:1px solid var(--y-line); }
.y-step:before { counter-increment:step; content:'0' counter(step); display:block; color:var(--y-teal); font-weight:900; font-size:1.25rem; margin-bottom:22px; }
.y-page-hero { background:linear-gradient(135deg,var(--y-navy-deep),var(--y-navy)); color:white; padding-block:clamp(64px,9vw,112px); }
.y-page-hero h1 { color:white; font-size:clamp(2.4rem,5vw,4.6rem); line-height:1.03; max-width:15ch; margin:16px 0 20px; }
.y-page-hero p { color:#d7e7ec; max-width:760px; font-size:1.18rem; line-height:1.7; }
.y-faq details { background:white; border:1px solid var(--y-line); border-radius:18px; padding:20px 24px; margin-bottom:14px; }
.y-faq summary { font-weight:800; cursor:pointer; }
.y-notice { border-left:5px solid var(--y-coral); background:#fff6f4; padding:20px 24px; border-radius:0 16px 16px 0; }

/* Interior-page cohesion pass. */
.y-page-hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  min-height:410px;
  display:grid;
  align-items:center;
  background:
    radial-gradient(circle at 84% 12%,rgba(237,118,107,.26),transparent 27%),
    linear-gradient(125deg,var(--y-navy-deep),var(--y-navy) 72%,var(--y-teal-dark));
}
.y-page-hero:before {
  content:'';
  position:absolute;
  inset:0;
  z-index:-1;
  background-image:radial-gradient(rgba(255,255,255,.15) 1px,transparent 1px);
  background-size:24px 24px;
  mask-image:linear-gradient(to right,transparent 25%,black 100%);
}
.y-page-hero .y-wrap { position:relative; z-index:1; }
.y-page-hero h1 { font-family:Georgia,"Times New Roman",serif; font-weight:500; letter-spacing:-.035em; }
.y-page-hero .y-actions { margin-top:28px; }

.y-page-services .y-page-hero,
.y-page-conditions .y-page-hero,
.y-page-new-patient .y-page-hero,
.y-page-current-patient .y-page-hero,
.y-page-healthcare-professional .y-page-hero,
.y-page-referrals .y-page-hero {
  min-height:500px;
  background-position:center;
  background-size:cover;
}
.y-page-services .y-page-hero {
  background-image:linear-gradient(90deg,rgba(8,38,56,.96),rgba(13,48,68,.83) 52%,rgba(13,48,68,.28)),url('assets/psychiatric-services.webp');
}
.y-page-conditions .y-page-hero {
  background-image:linear-gradient(90deg,rgba(8,38,56,.96),rgba(13,48,68,.84) 56%,rgba(13,48,68,.24)),url('assets/northwest-florida-care.webp');
}
.y-page-new-patient .y-page-hero,
.y-page-current-patient .y-page-hero {
  background-image:linear-gradient(90deg,rgba(8,38,56,.97),rgba(13,48,68,.85) 58%,rgba(13,48,68,.28)),url('assets/multistate-telehealth.webp');
}
.y-page-healthcare-professional .y-page-hero,
.y-page-referrals .y-page-hero {
  background-image:linear-gradient(90deg,rgba(8,38,56,.97),rgba(13,48,68,.84) 58%,rgba(13,48,68,.27)),url('assets/referral-care-coordination.webp');
}
.y-page-services .y-page-hero .y-wrap,
.y-page-conditions .y-page-hero .y-wrap,
.y-page-new-patient .y-page-hero .y-wrap,
.y-page-current-patient .y-page-hero .y-wrap,
.y-page-healthcare-professional .y-page-hero .y-wrap,
.y-page-referrals .y-page-hero .y-wrap { width:min(1180px,calc(100% - 40px)); }

main > .y-section:nth-of-type(even) { background:linear-gradient(180deg,#f8fbfb,#fff); }
.y-page-services main > .y-section,
.y-page-conditions main > .y-section { padding-block:96px; }
.y-page-services .y-grid-3 .y-card,
.y-page-conditions .y-grid-3 .y-card,
.y-page-current-patient .y-grid-3 .y-card,
.y-page-new-patient .y-grid-3 .y-card {
  position:relative;
  overflow:hidden;
  border-top:5px solid var(--y-teal);
  box-shadow:0 14px 38px rgba(13,48,68,.09);
}
.y-page-services .y-grid-3 .y-card:nth-child(3n+2),
.y-page-conditions .y-grid-3 .y-card:nth-child(3n+2),
.y-page-current-patient .y-grid-3 .y-card:nth-child(3n+2) { border-top-color:var(--y-coral); }
.y-page-services .y-grid-3 .y-card:nth-child(3n),
.y-page-conditions .y-grid-3 .y-card:nth-child(3n),
.y-page-current-patient .y-grid-3 .y-card:nth-child(3n) { border-top-color:var(--y-navy); }
.y-page-services .y-grid-3 .y-card h3,
.y-page-conditions .y-grid-3 .y-card h3,
.y-page-current-patient .y-grid-3 .y-card h3,
.y-page-new-patient .y-grid-3 .y-card h3 { color:var(--y-navy); font-family:Georgia,"Times New Roman",serif; font-size:1.55rem; font-weight:550; }
.y-page-services .y-grid-3 .y-card p,
.y-page-conditions .y-grid-3 .y-card p,
.y-page-current-patient .y-grid-3 .y-card p,
.y-page-new-patient .y-grid-3 .y-card p { color:var(--y-muted); font-size:1rem; line-height:1.72; }
.y-page-services .y-grid-3 .y-card a,
.y-page-conditions .y-grid-3 .y-card a,
.y-page-current-patient .y-grid-3 .y-card a,
.y-page-new-patient .y-grid-3 .y-card a { color:var(--y-teal-dark); font-weight:850; }

.y-page-healthcare-professional main .y-split,
.y-page-referrals main .y-split { align-items:stretch; }
.y-page-healthcare-professional main .y-split > div:first-child,
.y-page-referrals main .y-split > div:first-child { padding:clamp(34px,5vw,64px); border-radius:28px; background:linear-gradient(145deg,#fff7f3,#fff); border:1px solid #f4dcd7; }
.y-page-healthcare-professional main .y-card,
.y-page-referrals main .y-card { box-shadow:var(--y-shadow); }

.y-photo-panel {
  background-image:linear-gradient(145deg,rgba(13,48,68,.12),rgba(7,142,145,.14)),url('assets/psychiatric-services.webp');
  box-shadow:var(--y-shadow);
}

/* Page-matched editorial imagery. These selectors preserve the approved
   component layout while avoiding one repeated image across every topic. */
.y-page-anxiety .y-photo-panel,
.y-page-depression .y-photo-panel,
.y-page-social-anxiety .y-photo-panel,
.y-page-persistent-depressive-disorder .y-photo-panel,
.y-page-stress-burnout .y-photo-panel,
.y-page-adjustment-disorders .y-photo-panel,
.y-page-bipolar-disorder .y-photo-panel,
.y-page-ptsd-trauma .y-photo-panel,
.y-page-insomnia .y-photo-panel,
.y-page-pmdd .y-photo-panel,
.y-page-postpartum-depression .y-photo-panel,
.y-page-womens-mental-health .y-photo-panel,
.y-page-mens-mental-health .y-photo-panel {
  background-image:linear-gradient(145deg,rgba(13,48,68,.12),rgba(7,142,145,.12)),url('assets/calm-reflection.webp');
}

.y-page-adult-adhd .y-photo-panel,
.y-page-adhd .y-photo-panel,
.y-page-medication-management .y-photo-panel,
.y-page-psychiatric-evaluations .y-photo-panel {
  background-image:linear-gradient(145deg,rgba(13,48,68,.10),rgba(7,142,145,.10)),url('assets/focused-planning.webp');
}

.y-page-telehealth .y-photo-panel,
.y-page-transfer-of-care .y-photo-panel,
.y-page-post-hospital-follow-up .y-photo-panel {
  background-image:linear-gradient(145deg,rgba(13,48,68,.10),rgba(7,142,145,.10)),url('assets/telehealth-continuity.webp');
}

@media (max-width:640px) {
  .y-page-hero { min-height:440px; padding-block:58px; }
  .y-page-services .y-page-hero,
  .y-page-conditions .y-page-hero,
  .y-page-new-patient .y-page-hero,
  .y-page-current-patient .y-page-hero,
  .y-page-healthcare-professional .y-page-hero,
  .y-page-referrals .y-page-hero { min-height:520px; background-position:62% center; }
  .y-page-hero h1 { font-size:clamp(2.7rem,13vw,4rem); }
}

/* Homepage fidelity pass: current palette with the approved draft's editorial hierarchy. */
.y-home-hero {
  min-height: 680px;
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(245,251,250,.99) 0%, rgba(255,255,255,.97) 42%, rgba(255,255,255,.50) 63%, rgba(255,255,255,.08) 100%),
    url('assets/northwest-florida-care.webp') 76% center/cover no-repeat;
}
.y-home-hero:after {
  content:'';
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 93% 8%, rgba(237,118,107,.30), transparent 28%);
  pointer-events:none;
}
.y-home-hero-inner { position:relative; z-index:1; padding-block:clamp(78px,10vw,132px); }
.y-home-hero-copy { max-width:680px; }
.y-home-hero h1,
.y-home-heading h2,
.y-home-editorial-copy h2,
.y-home-name h2,
.y-home-location h2,
.y-insurance-band h2 {
  font-family:Georgia,"Times New Roman",serif;
  font-weight:500;
  letter-spacing:-.035em;
  line-height:1.04;
}
.y-home-hero h1 { color:var(--y-navy); font-size:clamp(3.1rem,6.2vw,5.8rem); max-width:12ch; margin:18px 0 24px; }
.y-home-hero-copy > p { color:var(--y-muted); font-size:clamp(1.08rem,1.6vw,1.3rem); line-height:1.7; max-width:610px; margin-bottom:30px; }
.y-home-eyebrow { color:var(--y-teal-dark); font-size:.76rem; font-weight:850; letter-spacing:.14em; line-height:1.6; text-transform:uppercase; }
.y-home-eyebrow:before { content:''; display:inline-block; width:30px; height:2px; margin-right:10px; vertical-align:middle; background:currentColor; }

.y-home-trust { position:relative; z-index:4; margin-top:-38px; }
.y-home-trust-grid { display:grid; grid-template-columns:repeat(4,1fr); background:white; border:1px solid var(--y-line); border-radius:22px; box-shadow:var(--y-shadow); overflow:hidden; }
.y-home-trust a { padding:24px 26px; color:var(--y-navy); text-decoration:none; border-right:1px solid var(--y-line); transition:background .2s ease; }
.y-home-trust a:last-child { border-right:0; }
.y-home-trust a:hover { background:var(--y-mint); }
.y-home-trust span,.y-home-trust strong { display:block; }
.y-home-trust span { color:var(--y-teal-dark); font-size:.72rem; font-weight:850; letter-spacing:.11em; text-transform:uppercase; margin-bottom:4px; }
.y-home-trust strong { font-family:Georgia,"Times New Roman",serif; font-size:1.08rem; font-weight:600; }

.y-insurance-band { padding-block:90px 72px; background:linear-gradient(135deg,#fff,var(--y-cream)); }
.y-insurance-intro { display:grid; grid-template-columns:.9fr 1.1fr; gap:64px; align-items:end; margin-bottom:34px; }
.y-insurance-intro h2 { color:var(--y-navy); font-size:clamp(2.2rem,4vw,3.7rem); margin:10px 0 0; }
.y-insurance-intro p { color:var(--y-muted); font-size:1.06rem; line-height:1.75; margin:0; }
.y-insurance-list { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.y-insurance-list span { min-height:86px; display:grid; place-items:center; padding:18px; background:white; color:var(--y-navy); border:1px solid var(--y-line); border-radius:18px; box-shadow:0 10px 30px rgba(13,48,68,.06); font-family:Georgia,"Times New Roman",serif; font-size:1.18rem; font-weight:600; text-align:center; }
.y-text-link { display:inline-block; margin-top:24px; color:var(--y-teal-dark); font-weight:850; }

.y-home-services { background:white; }
.y-home-heading { max-width:760px; margin-bottom:46px; }
.y-home-heading h2 { color:var(--y-navy); font-size:clamp(2.5rem,4.5vw,4.2rem); margin:12px 0 18px; }
.y-home-heading > p { color:var(--y-muted); font-size:1.08rem; line-height:1.75; }
.y-home-heading-center { margin-inline:auto; text-align:center; }
.y-home-service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.y-home-service-card { min-height:325px; display:flex; flex-direction:column; padding:38px; border:1px solid var(--y-line); border-radius:26px; background:linear-gradient(160deg,#fff 0%,#fbfdfd 100%); box-shadow:0 14px 42px rgba(13,48,68,.08); transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease; }
.y-home-service-card:nth-child(2),.y-home-service-card:nth-child(5) { background:linear-gradient(160deg,#fff,#f1fbfa); }
.y-home-service-card:nth-child(3),.y-home-service-card:nth-child(6) { background:linear-gradient(160deg,#fff,#fff6f3); }
.y-home-service-card:hover { transform:translateY(-6px); box-shadow:var(--y-shadow); border-color:rgba(7,142,145,.35); }
.y-home-service-card h3 { color:var(--y-navy); font-family:Georgia,"Times New Roman",serif; font-size:1.65rem; font-weight:550; margin:0 0 14px; }
.y-home-service-card p { color:var(--y-muted); line-height:1.7; }
.y-home-service-card a { color:var(--y-teal-dark); font-weight:850; margin-top:auto; }

.y-home-editorial,.y-home-referral { background:var(--y-cream); }
.y-home-editorial-panel { display:grid; grid-template-columns:1.12fr .88fr; min-height:560px; overflow:hidden; border-radius:34px; background:linear-gradient(145deg,var(--y-teal),var(--y-navy)); box-shadow:var(--y-shadow); }
.y-home-editorial-reverse { grid-template-columns:.88fr 1.12fr; }
.y-home-editorial-reverse .y-home-editorial-image { order:2; }
.y-home-editorial-image { min-height:520px; background-position:center; background-size:cover; }
.y-home-care-image { background-image:url('assets/psychiatric-services.webp'); }
.y-home-referral-image { background-image:url('assets/referral-care-coordination.webp'); background-position:60% center; }
.y-home-editorial-copy { display:flex; flex-direction:column; justify-content:center; padding:clamp(38px,6vw,74px); color:#eaf4f5; }
.y-home-editorial-copy .y-home-eyebrow { color:#a8e7e4; }
.y-home-editorial-copy h2 { color:white; font-size:clamp(2.5rem,4vw,4.1rem); margin:16px 0 20px; }
.y-home-editorial-copy p,.y-home-editorial-copy li { color:#e2f0f2; line-height:1.75; }
.y-home-editorial-copy ul { padding-left:1.2rem; margin-bottom:28px; }

.y-home-steps { background:var(--y-mint); }
.y-home-steps .y-step { box-shadow:0 12px 34px rgba(13,48,68,.07); }
.y-home-center-action { display:flex; justify-content:center; margin-top:34px; }

.y-home-name { background:linear-gradient(135deg,#fff0ec,#fff8f5); }
.y-home-name h2 { color:var(--y-coral); font-size:clamp(2.8rem,5vw,4.8rem); margin:12px 0 0; }
.y-home-name p { color:var(--y-ink); font-size:1.1rem; line-height:1.8; }

.y-home-conditions { color:white; background:linear-gradient(135deg,var(--y-navy-deep),var(--y-navy)); }
.y-home-conditions .y-home-heading h2 { color:white; }
.y-home-conditions .y-home-heading p { color:#d7e7ec; }
.y-home-conditions .y-home-eyebrow { color:#8edbd8; }
.y-home-condition-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:32px; }
.y-home-condition-grid a { min-height:82px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:20px 22px; color:white; text-decoration:none; border:1px solid rgba(255,255,255,.22); border-radius:18px; background:rgba(255,255,255,.07); font-family:Georgia,"Times New Roman",serif; font-size:1.06rem; transition:background .2s ease,transform .2s ease; }
.y-home-condition-grid a:hover { background:rgba(255,255,255,.15); transform:translateY(-3px); }
.y-home-condition-grid span { color:var(--y-coral); font-family:system-ui,sans-serif; font-size:1.3rem; }

.y-home-location { background:white; }
.y-home-location-panel { display:grid; grid-template-columns:1fr 1fr; min-height:520px; overflow:hidden; border-radius:34px; background:linear-gradient(135deg,var(--y-navy),var(--y-teal-dark)); box-shadow:var(--y-shadow); }
.y-home-location-copy { display:flex; flex-direction:column; justify-content:center; padding:clamp(38px,6vw,74px); color:#e6f2f3; }
.y-home-location-copy .y-home-eyebrow { color:#a8e7e4; }
.y-home-location-copy h2 { color:white; font-size:clamp(2.4rem,4vw,4rem); margin:14px 0 22px; }
.y-home-location-copy p { color:#e2f0f2; line-height:1.75; }
.y-home-location-image { min-height:480px; background:url('assets/multistate-telehealth.webp') center/cover no-repeat; }

.y-home-referral { padding-top:0; }

/* 1.3 hybrid homepage: approved draft flow with the cleaner rebuild palette and scale. */
.y-home-hero {
  min-height:0;
  padding-block:clamp(48px,6vw,76px) 72px;
  background:radial-gradient(circle at 92% 10%,rgba(237,118,107,.20),transparent 30%),linear-gradient(135deg,#f5fbfa 0%,#fff 52%,#fdf5f1 100%);
}
.y-home-hero:after { background-image:radial-gradient(rgba(7,142,145,.12) 1px,transparent 1px); background-size:22px 22px; mask-image:linear-gradient(to right,transparent 0%,black 62%,black 100%); }
.y-home-hero-grid { position:relative; z-index:2; display:grid; grid-template-columns:.95fr 1.05fr; align-items:center; gap:clamp(34px,5vw,64px); }
.y-home-hero-copy { max-width:650px; }
.y-home-hero h1 { font-size:clamp(2.85rem,4.4vw,4.1rem); max-width:12ch; }
.y-home-hero-visual { min-height:405px; position:relative; overflow:hidden; border-radius:30px; background:linear-gradient(160deg,rgba(7,142,145,.14),rgba(13,48,68,.10)),url('assets/northwest-florida-care.webp') 67% center/cover no-repeat; box-shadow:var(--y-shadow); }
.y-home-hero-visual span { position:absolute; left:26px; right:26px; bottom:26px; padding:20px 22px; border-radius:18px; background:rgba(255,255,255,.94); color:var(--y-navy); font:600 1.25rem/1.35 Georgia,"Times New Roman",serif; box-shadow:0 10px 26px rgba(13,48,68,.12); }
.y-state-line { display:flex; flex-wrap:wrap; gap:8px; margin-top:24px; }
.y-state-line span { padding:7px 11px; border:1px solid var(--y-line); border-radius:999px; background:white; color:var(--y-muted); font-size:.76rem; font-weight:800; }

.y-home-name-compact { padding-block:48px; }
.y-home-name-compact h2 { font-size:clamp(2rem,3.5vw,3.25rem); }
.y-home-name-compact p { margin:0; }

.y-insurance-ribbon { padding-block:28px; border-block:1px solid var(--y-line); background:white; }
.y-insurance-ribbon .y-wrap { display:grid; grid-template-columns:1.25fr 1.5fr auto; gap:24px; align-items:center; }
.y-insurance-ribbon strong,.y-insurance-ribbon span { display:block; }
.y-insurance-ribbon strong { color:var(--y-navy); font-family:Georgia,"Times New Roman",serif; font-size:1.15rem; }
.y-insurance-ribbon > .y-wrap > div:first-child span { margin-top:4px; color:var(--y-muted); font-size:.82rem; }
.y-insurance-chips { display:flex; flex-wrap:wrap; gap:8px; }
.y-insurance-chips span { padding:8px 11px; border-radius:999px; background:var(--y-mint); color:var(--y-teal-dark); font-size:.78rem; font-weight:850; }
.y-insurance-ribbon a { color:var(--y-teal-dark); font-weight:850; white-space:nowrap; }

.y-home-services { padding-block:84px; }
.y-home-service-card { min-height:285px; padding:31px; }
.y-home-service-card h3 { font-size:1.48rem; }
.y-home-steps,.y-home-conditions,.y-home-person,.y-home-location,.y-home-referral,.y-home-faq { padding-block:82px; }

.y-home-person { background:white; }
.y-home-referral { background:var(--y-cream); }
.y-home-compact-feature { display:grid; grid-template-columns:.95fr 1.05fr; min-height:430px; overflow:hidden; border:1px solid var(--y-line); border-radius:30px; background:white; box-shadow:0 16px 46px rgba(13,48,68,.09); }
.y-home-compact-image { min-height:410px; background-position:center; background-size:cover; }
.y-home-compact-copy { display:flex; flex-direction:column; justify-content:center; padding:clamp(36px,5vw,60px); }
.y-home-compact-copy h2 { margin:13px 0 18px; color:var(--y-navy); font:500 clamp(2.15rem,3.5vw,3.35rem)/1.06 Georgia,"Times New Roman",serif; letter-spacing:-.03em; }
.y-home-compact-copy p,.y-home-compact-copy li { color:var(--y-muted); line-height:1.7; }
.y-home-compact-copy ul { padding-left:1.15rem; margin-bottom:24px; }
.y-home-compact-feature-dark { border:0; background:linear-gradient(135deg,var(--y-navy),var(--y-teal-dark)); }
.y-home-compact-feature-dark .y-home-compact-copy h2 { color:white; }
.y-home-compact-feature-dark .y-home-compact-copy p { color:#e2f0f2; }
.y-home-compact-feature-dark .y-home-eyebrow { color:#a8e7e4; }
.y-home-compact-feature .y-home-location-image { min-height:410px; }
.y-home-faq { background:var(--y-mint); }
.y-home-faq h2 { margin:13px 0 18px; color:var(--y-navy); font:500 clamp(2.2rem,3.8vw,3.5rem)/1.06 Georgia,"Times New Roman",serif; letter-spacing:-.03em; }
.y-home-faq p { color:var(--y-muted); line-height:1.7; }

/* 1.3.3 homepage presentation: preserve the approved flow while restoring
   the visual depth, panoramic imagery and stronger action hierarchy. */
.y-home-hero {
  min-height:clamp(620px,72vh,790px);
  padding-block:0;
  display:grid;
  align-items:center;
  isolation:isolate;
  background:
    linear-gradient(90deg,rgba(8,38,56,.94) 0%,rgba(13,48,68,.88) 39%,rgba(13,48,68,.36) 68%,rgba(13,48,68,.08) 100%),
    url('assets/northwest-florida-care.webp') 67% center/cover no-repeat;
}
.y-home-hero:before {
  content:'';
  position:absolute;
  inset:auto 0 0;
  height:170px;
  z-index:-1;
  background:linear-gradient(to top,rgba(8,38,56,.58),transparent);
}
.y-home-hero:after {
  z-index:-1;
  background:
    radial-gradient(circle at 88% 10%,rgba(237,118,107,.34),transparent 24%),
    linear-gradient(120deg,rgba(7,142,145,.20),transparent 44%);
  mask-image:none;
}
.y-home-hero-grid { display:block; }
.y-home-hero-copy {
  max-width:700px;
  padding:clamp(72px,9vw,126px) 0 clamp(104px,12vw,154px);
}
.y-home-hero .y-home-eyebrow { color:#a9ebe7; text-shadow:0 1px 16px rgba(0,0,0,.18); }
.y-home-hero h1 {
  color:white;
  font-size:clamp(3.45rem,6.3vw,6.25rem);
  max-width:10ch;
  margin:20px 0 25px;
  text-shadow:0 8px 34px rgba(0,0,0,.22);
}
.y-home-hero-copy > p {
  color:#edf7f7;
  max-width:620px;
  font-size:clamp(1.08rem,1.55vw,1.32rem);
  text-shadow:0 2px 18px rgba(0,0,0,.25);
}
.y-home-hero .y-button--outline { color:white; border-color:rgba(255,255,255,.74); background:rgba(255,255,255,.08); backdrop-filter:blur(8px); }
.y-home-hero .y-button--outline:hover { background:white; color:var(--y-navy); }
.y-home-hero-visual { display:none; }
.y-home-hero .y-state-line { margin-top:30px; }
.y-home-hero .y-state-line span {
  color:white;
  border-color:rgba(255,255,255,.34);
  background:rgba(255,255,255,.11);
  backdrop-filter:blur(9px);
  box-shadow:0 6px 18px rgba(0,0,0,.10);
}

.y-home-trust { margin-top:-56px; }
.y-home-trust-grid { border:0; border-radius:24px; box-shadow:0 24px 70px rgba(8,38,56,.19); }
.y-home-trust a { min-height:126px; display:flex; flex-direction:column; justify-content:center; padding:27px 28px; }
.y-home-trust a:after { content:'\2192'; margin-top:12px; color:var(--y-coral); font-size:1.25rem; line-height:1; }
.y-home-trust a:nth-child(2) { background:#f4fbfa; }
.y-home-trust a:nth-child(3) { background:#fff7f3; }
.y-home-trust a:nth-child(4) { background:var(--y-navy); color:white; }
.y-home-trust a:nth-child(4) span { color:#a9ebe7; }
.y-home-trust a:nth-child(4) strong { color:white; }
.y-home-trust a:nth-child(4):hover { background:var(--y-navy-deep); }

.y-home-name-compact {
  padding-block:88px 74px;
  background:
    radial-gradient(circle at 9% 20%,rgba(237,118,107,.16),transparent 25%),
    linear-gradient(135deg,#fff7f3,#fff 58%,#f3fbfa);
}
.y-home-name-compact h2 { color:var(--y-coral); font-size:clamp(2.7rem,5vw,4.9rem); }
.y-home-name-compact p { font-size:1.16rem; line-height:1.85; }

.y-insurance-ribbon { padding-block:38px; background:var(--y-navy); border:0; }
.y-insurance-ribbon strong { color:white; font-size:1.26rem; }
.y-insurance-ribbon > .y-wrap > div:first-child span { color:#c9dce3; }
.y-insurance-chips span { background:rgba(255,255,255,.10); border:1px solid rgba(255,255,255,.22); color:white; }
.y-insurance-ribbon a { color:#a9ebe7; }

.y-home-services { padding-block:104px; background:linear-gradient(180deg,#fff,#f8fbfb); }
.y-home-service-card { min-height:310px; border-top:5px solid var(--y-teal); }
.y-home-service-card:nth-child(2),.y-home-service-card:nth-child(5) { border-top-color:var(--y-coral); }
.y-home-service-card:nth-child(3),.y-home-service-card:nth-child(6) { border-top-color:var(--y-navy); }
.y-home-service-card .y-icon { box-shadow:inset 0 0 0 1px rgba(7,142,145,.08); }

@media (max-width:900px) {
  .y-home-hero { min-height:650px; background-position:62% center; }
  .y-home-hero-copy { max-width:610px; }
  .y-home-trust { margin-top:-44px; }
}
@media (max-width:640px) {
  .y-home-hero {
    min-height:700px;
    background:
      linear-gradient(180deg,rgba(8,38,56,.56) 0%,rgba(8,38,56,.78) 44%,rgba(8,38,56,.97) 100%),
      url('assets/northwest-florida-care.webp') 64% center/cover no-repeat;
  }
  .y-home-hero-copy { padding:220px 0 100px; }
  .y-home-hero h1 { font-size:clamp(3rem,15vw,4.45rem); }
  .y-home-hero .y-actions { align-items:stretch; }
  .y-home-hero .y-button { text-align:center; }
  .y-home-trust { margin-top:-38px; }
  .y-home-trust a { min-height:104px; }
  .y-home-name-compact { padding-block:72px; }
}

@media (max-width: 900px) {
  .y-home-hero-grid,.y-home-compact-feature { grid-template-columns:1fr; }
  .y-home-hero-visual { min-height:380px; }
  .y-home-trust-grid,.y-insurance-list { grid-template-columns:1fr 1fr; }
  .y-home-trust a:nth-child(2) { border-right:0; }
  .y-home-trust a:nth-child(-n+2) { border-bottom:1px solid var(--y-line); }
  .y-insurance-intro,.y-home-editorial-panel,.y-home-editorial-reverse,.y-home-location-panel { grid-template-columns:1fr; }
  .y-home-editorial-reverse .y-home-editorial-image { order:0; }
  .y-home-service-grid { grid-template-columns:1fr 1fr; }
  .y-home-condition-grid { grid-template-columns:1fr 1fr; }
  .y-insurance-ribbon .y-wrap { grid-template-columns:1fr; }
  .y-home-compact-image { min-height:340px; }
}

@media (max-width: 640px) {
  .y-home-hero { padding-block:52px 80px; }
  .y-home-hero h1 { font-size:clamp(2.7rem,14vw,4rem); }
  .y-home-hero-visual { min-height:300px; }
  .y-home-trust { margin-top:-42px; }
  .y-home-trust-grid,.y-insurance-list,.y-home-service-grid,.y-home-condition-grid { grid-template-columns:1fr; }
  .y-home-trust a { border-right:0; border-bottom:1px solid var(--y-line); }
  .y-home-trust a:last-child { border-bottom:0; }
  .y-insurance-intro { gap:20px; }
  .y-home-service-card { min-height:280px; }
  .y-home-editorial-image,.y-home-location-image { min-height:320px; }
  .y-home-editorial-copy { padding:38px 26px; }
}

.y-footer { background:var(--y-navy-deep); color:#d8e5ea; padding-block:64px 26px; }
.y-footer a { color:white; }
.y-footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:38px; }
.y-footer h3 { color:white; }
.y-legal { border-top:1px solid rgba(255,255,255,.16); margin-top:42px; padding-top:22px; font-size:.82rem; color:#a9c0ca; }

@media (max-width: 900px) {
  .y-grid-3,.y-steps { grid-template-columns:1fr 1fr; }
  .y-hero-grid,.y-split { grid-template-columns:1fr; }
  .y-hero-visual { min-height:360px; }
  .y-main-header .y-wrap { min-height:76px; }
  .y-desktop-nav { display:none; }
  .y-mobile-menu { display:block; }
  .y-footer-grid { grid-template-columns:1fr 1fr; }
}
@media (max-width: 640px) {
  .y-wrap { width:min(100% - 28px,1180px); }
  .y-top-actions .y-wrap { justify-content:center; gap:2px; }
  .y-top-actions a { font-size:.72rem; padding:7px 8px; }
  .y-brand-copy small { display:none; }
  .y-audience a { font-size:.76rem; padding:13px 6px; }
  .y-grid-3,.y-grid-2,.y-steps,.y-footer-grid { grid-template-columns:1fr; }
  .y-hero { padding-block:64px; }
  .y-hero h1 { font-size:clamp(2.55rem,14vw,4rem); }
  .y-hero-visual { min-height:300px; }
}
