/* Shared inner-page frame. Loaded only on pages other than Home and Þjónusta. */
.cares-page {
  --frame-width: 1280px;
  --frame-gutter: 24px;
  --frame-space: 72px;
  --frame-border: #dfe4eb;
  --frame-muted: #f7f8fa;
  --font-control: 16px;
  --weight-control: 600;
  --control-height: 48px;
  color: var(--navy);
  background: #fff;
  font-size: 16px;
  line-height: 1.65;
}
.cares-page .page-frame { width: 100%; max-width: var(--frame-width); margin-inline: auto; padding-inline: var(--frame-gutter); }
.cares-page .page-intro { padding-block: 132px 48px; }
.cares-page .page-breadcrumbs { display:flex; align-items:center; flex-wrap:wrap; gap:10px; margin-bottom:24px; color:var(--sub); font-size:14px; }
.cares-page .page-breadcrumbs a { display:inline-flex; align-items:center; min-height:44px; }
.cares-page .page-intro h1 { margin:0 0 20px; font-size:48px; line-height:1.12; font-weight:700; letter-spacing:-.035em; text-wrap:balance; }
.cares-page .page-intro p { max-width:640px; font-size:16px; line-height:1.65; color:var(--sub); }
.cares-page .page-section { padding-block:var(--frame-space); }
.cares-page .page-section h2 { font-size:32px; line-height:1.2; font-weight:700; letter-spacing:-.025em; }
.cares-page .page-kicker { color:var(--blue); font-size:14px; font-weight:600; margin-bottom:12px; }
.cares-page .page-actions { display:flex; flex-wrap:wrap; align-items:center; gap:12px 24px; margin-top:28px; }
.cares-page .page-text-link { display:inline-flex; gap:10px; align-items:center; min-height:44px; color:var(--blue); font-size:16px; font-weight:600; }
.cares-page .page-split { display:grid; grid-template-columns:minmax(0,1.1fr) minmax(0,1fr); align-items:center; gap:64px; }
.cares-page .page-image { width:100%; height:auto; max-height:380px; aspect-ratio:4/3; object-fit:cover; border-radius:var(--site-corner); }
.cares-page .page-panel { border:1px solid var(--frame-border); border-radius:var(--site-corner); padding:32px; background:#fff; }
.cares-page .btn { min-height:48px; padding:12px 24px; font-size:16px; font-weight:600; line-height:1.5; border-radius:var(--button-corner); box-shadow:none; }
.cares-page .btn-outline { border-color:var(--frame-border); }
.cares-page .btn:hover { transform:none; }
.cares-page :is(a,button,input,select,textarea,summary):focus-visible { outline:3px solid var(--blue); outline-offset:4px; }
.cares-page :is(input,select,textarea) { font-size:16px; }
.cares-page main [id] { scroll-margin-top:120px; }
.cares-page main .reveal { opacity:1; transform:none; transition:none; }
/* Keep the solid navigation surface readable over inner-page content. */
.cares-page .nav,
.cares-page .nav:hover,
.cares-page .nav[data-state="sticky"] {
  background:#fff !important; border:1px solid var(--frame-border) !important;
  backdrop-filter:none; -webkit-backdrop-filter:none; box-shadow:none;
}
.cares-page .nav .nav-logo-dark { display:block; }
.cares-page .nav .nav-logo-white { display:none; }
.cares-page .nav :is(.nav-category-toggle,.nav-mobile),
.cares-page .nav .nav-links > a:not(.nav-cta) { color:var(--navy); }



@media (hover:hover) and (pointer:fine) {
  .cares-page .page-text-link:hover,.cares-page .page-breadcrumbs a:hover { text-decoration:underline; text-underline-offset:5px; }
}
@media (max-width:740px) {
  .cares-page { --frame-gutter:20px; --frame-space:48px; }
  .cares-page .page-intro { padding-block:118px 36px; }
  .cares-page .page-intro h1 { font-size:34px; }
  .cares-page .page-intro p { font-size:16px; }
  .cares-page .page-section h2 { font-size:26px; }
  .cares-page .page-breadcrumbs { margin-bottom:16px; }
  .cares-page .page-split { grid-template-columns:1fr; gap:28px; }
  .cares-page .page-image { aspect-ratio:16/9; max-height:300px; }
  .cares-page .page-panel { padding:24px; }
}
@media (prefers-reduced-motion:reduce) {
 .cares-page *, .cares-page *::before, .cares-page *::after { scroll-behavior:auto; }
}
/* Native FAQ rows use the same disclosure affordance on every inner page. */
.cares-page .faq-item { border-color:var(--frame-border); }
.cares-page .faq-q { min-height:64px; padding:20px 0; font-size:16px; font-weight:600; line-height:1.5; }
.cares-page .faq-q::after { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:var(--frame-muted); color:var(--navy); font-size:22px; }
.cares-page .faq-item[open] .faq-q { color:var(--blue); }
.cares-page .faq-a { font-size:16px; line-height:1.7; }
/* Reference-led subpages: a coloured introduction, then clear full-width sections.
   These classes are deliberately absent from the homepage and service overview. */
.cares-page .subpage-content { width:100%; max-width:1280px; padding-inline:24px; margin-inline:auto; }
.cares-page .subpage-breadcrumbs { display:flex; align-items:center; flex-wrap:wrap; gap:12px 20px; width:calc(100% - 32px); max-width:1600px; margin:0 auto 24px; padding-top:120px; color:var(--sub); font-size:14px; }
.cares-page .subpage-breadcrumbs a { display:inline-flex; align-items:center; min-height:44px; }
.cares-page .subpage-breadcrumbs > :last-child { color:var(--navy); font-weight:600; }
.cares-page .subpage-back { display:grid !important; place-items:center; width:48px; min-height:48px !important; padding:0; border:1px solid var(--frame-border); border-radius:var(--button-corner); color:var(--navy); font-size:24px; }
.cares-page .subpage-hero { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); align-items:center; gap:24px; width:calc(100% - 32px); max-width:1600px; margin:0 auto; padding:24px; background:var(--blue); color:#fff; border-radius:var(--site-corner); }
.cares-page .subpage-hero-copy { min-width:0; padding:40px clamp(24px,4vw,64px); }
.cares-page .subpage-eyebrow { margin:0 0 24px; color:inherit; font-size:13px; line-height:1.5; font-weight:600; letter-spacing:.1em; text-transform:uppercase; }
.cares-page .subpage-hero h1 { margin:0 0 28px; max-width:620px; font-size:clamp(40px,4.1vw,60px); line-height:1.1; font-weight:700; letter-spacing:-.03em; color:#fff; overflow-wrap:break-word; text-wrap:balance; }
.cares-page .subpage-lead { margin:0; max-width:560px; font-size:18px; line-height:1.7; color:#fff; }
.cares-page .subpage-actions { display:flex; align-items:center; flex-wrap:wrap; gap:12px 24px; margin-top:28px; }
.cares-page .subpage-actions .btn{ background:var(--primary-fill); color:var(--primary-text); border:1px solid var(--primary-fill); gap:20px; }
.cares-page .subpage-actions .btn:hover{ background:var(--primary-hover); border-color:var(--primary-hover); }
.cares-page .subpage-actions .btn > span[aria-hidden] { display:grid; place-items:center; flex-shrink:0; width:28px; height:28px; border-radius:var(--button-corner); background:#fff; color:var(--blue); font-size:20px; }
.cares-page .subpage-actions > a:not(.btn) { display:inline-flex; align-items:center; gap:10px; min-height:44px; color:#fff; font-size:16px; font-weight:600; text-decoration:underline; text-underline-offset:5px; }
.cares-page .subpage-hero :focus-visible { outline-color:#fff; }
.cares-page .subpage-hero-media { min-width:0; width:100%; height:100%; min-height:360px; max-height:540px; aspect-ratio:4/3; border-radius:var(--site-corner); overflow:hidden; }
.cares-page .subpage-hero-media img { display:block; width:100%; height:100%; object-fit:cover; }
.cares-page .subpage-heading { max-width:740px; margin-bottom:32px; }
.cares-page .subpage-heading h2 { margin:0 0 16px; font-size:36px; line-height:1.2; letter-spacing:-.025em; font-weight:700; color:var(--navy); }
.cares-page .subpage-heading p { font-size:17px; line-height:1.7; color:var(--sub); margin:0; }
.cares-page .subpage-icon { display:grid; place-items:center; width:48px; height:48px; border-radius:var(--site-corner); background:var(--navy); color:#fff; flex-shrink:0; }
.cares-page .subpage-icon svg { width:24px; height:24px; }
.cares-page .subpage-pill { display:inline-flex; align-items:center; justify-content:center; gap:10px; min-height:48px; padding:10px 20px; border:1px solid var(--frame-border); border-radius:var(--site-corner); color:var(--navy); font-size:16px; font-weight:600; background:#fff; }
.cares-page .subpage-pill:hover { border-color:var(--blue); color:var(--blue); }
@media (max-width:1050px) {
 .cares-page .subpage-hero { gap:16px; padding:20px; }
 .cares-page .subpage-hero-copy { padding:24px; }
 .cares-page .subpage-hero h1 { font-size:42px; }
 .cares-page .subpage-lead { font-size:16px; }
 .cares-page .subpage-hero-media { min-height:340px; }
}
@media (max-width:900px) {
 .cares-page .subpage-hero { grid-template-columns:1fr; }
 .cares-page .subpage-hero-media { min-height:0; height:auto; max-height:480px; aspect-ratio:4/3; }
}
@media (max-width:740px) {
 .cares-page .subpage-content { padding-inline:20px; }
 .cares-page .subpage-breadcrumbs { padding-top:108px; gap:12px; margin-bottom:20px; font-size:13px; }
 .cares-page .subpage-hero { grid-template-columns:1fr; padding:20px; gap:28px; border-radius:var(--site-corner); }
 .cares-page .subpage-hero-copy { padding:12px 4px 0; }
 .cares-page .subpage-hero h1 { font-size:34px; margin-bottom:20px; }
 .cares-page .subpage-eyebrow { font-size:12px; margin-bottom:20px; }
 .cares-page .subpage-hero-media { min-height:0; height:auto; max-height:320px; aspect-ratio:4/3; border-radius:var(--site-corner); }
 .cares-page .subpage-hero-media img { height:100%; }
 .cares-page .subpage-heading h2 { font-size:28px; }
 .cares-page .subpage-heading p { font-size:16px; }
 .cares-page .subpage-actions { gap:12px 20px; margin-top:24px; }
}
