/* Attykalibre staging polish: professional layout + responsive menu */
:root {
  --ak-navy: #0b1f3a;
  --ak-navy-2: #122f55;
  --ak-blue: #1f5f9f;
  --ak-gold: #b88a2b;
  --ak-gold-2: #d8b15d;
  --ak-ink: #1c2733;
  --ak-muted: #5d6b7c;
  --ak-line: #e6edf5;
  --ak-soft: #f6f8fb;
  --ak-white: #fff;
  --ak-shadow: 0 16px 45px rgba(11,31,58,.12);
  --ak-radius: 18px;
}

html { scroll-behavior: smooth; }
body {
  color: var(--ak-ink);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ak-blue); text-underline-offset: 3px; }
a:hover { color: var(--ak-navy); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  width: 100%;
  min-height: 82px;
  padding: 14px clamp(18px, 4vw, 54px);
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(11,31,58,.09);
  box-shadow: 0 8px 28px rgba(11,31,58,.06);
  backdrop-filter: saturate(180%) blur(14px);
}
.site-branding {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: 0;
}
.custom-logo-link { display: inline-flex; align-items: center; }
.custom-logo {
  width: auto;
  max-width: min(230px, 48vw);
  height: auto;
  max-height: 58px;
  object-fit: contain;
}

.ak-menu-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(11,31,58,.16);
  border-radius: 999px;
  background: #fff;
  color: var(--ak-navy);
  padding: 10px 14px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 8px 22px rgba(11,31,58,.08);
  cursor: pointer;
}
.ak-menu-toggle:hover,
.ak-menu-toggle:focus { border-color: var(--ak-gold); outline: 3px solid rgba(184,138,43,.18); }
.ak-menu-icon,
.ak-menu-icon::before,
.ak-menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: currentColor;
  content: "";
  transition: transform .2s ease, opacity .2s ease;
}
.ak-menu-icon { position: relative; }
.ak-menu-icon::before { position: absolute; transform: translateY(-7px); }
.ak-menu-icon::after { position: absolute; transform: translateY(7px); }
body.ak-menu-open .ak-menu-icon { background: transparent; }
body.ak-menu-open .ak-menu-icon::before { transform: rotate(45deg); }
body.ak-menu-open .ak-menu-icon::after { transform: rotate(-45deg); }

.site-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
}
.site-navigation ul.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-navigation .menu > li { margin: 0; padding: 0; }
.site-navigation .menu > li > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--ak-navy);
  font-size: 14.5px;
  font-weight: 750;
  line-height: 1.15;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.site-navigation .menu > li > a:hover,
.site-navigation .menu > li > a:focus {
  background: var(--ak-soft);
  color: var(--ak-blue);
  outline: none;
  transform: translateY(-1px);
}
.site-navigation .current-menu-item > a,
.site-navigation .current_page_item > a {
  color: var(--ak-navy);
  background: linear-gradient(180deg, #fff8e8, #f8edcf);
  box-shadow: inset 0 0 0 1px rgba(184,138,43,.24);
}
.site-navigation .menu > li:last-child > a,
.ak-header-cta {
  background: linear-gradient(135deg, var(--ak-gold), #cba24b);
  color: #111827 !important;
  box-shadow: 0 10px 24px rgba(184,138,43,.26);
}
.site-navigation .menu > li:last-child > a:hover,
.ak-header-cta:hover {
  background: linear-gradient(135deg, #c99a36, var(--ak-gold-2));
  color: #0b1f3a !important;
}

/* General page polish */
#content, main.site-main, .site-main, .page-content, .entry-content {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}
.site-main, .page-content, .entry-content {
  padding-left: clamp(18px, 4vw, 46px);
  padding-right: clamp(18px, 4vw, 46px);
}
h1, h2, h3 {
  color: var(--ak-navy);
  line-height: 1.18;
  letter-spacing: -.025em;
}
h1 { font-size: clamp(2.1rem, 4.2vw, 4.45rem); font-weight: 850; margin-bottom: .45em; }
h2 { font-size: clamp(1.55rem, 2.4vw, 2.2rem); font-weight: 820; margin-top: 1.45em; }
h3 { font-size: clamp(1.18rem, 1.65vw, 1.45rem); font-weight: 780; }
p, li { font-size: 1.03rem; }
.entry-content p { max-width: 76ch; }
.entry-content ul, .entry-content ol { padding-left: 1.35em; }
.entry-content li { margin: .28em 0; }

.wp-block-button__link,
.elementor-button,
button, input[type="submit"] {
  border-radius: 999px !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
}
.wp-block-button__link, input[type="submit"] {
  background: linear-gradient(135deg, var(--ak-navy), var(--ak-blue)) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(11,31,58,.18);
}
.wp-block-button__link:hover, input[type="submit"]:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.entry-content > .wp-block-group,
.entry-content > section,
.entry-content .ak-card,
.entry-content .wp-block-columns {
  border-radius: var(--ak-radius);
}
.wp-block-column, .ak-card {
  border-color: var(--ak-line);
}

/* Forms */
input[type="text"], input[type="email"], input[type="tel"], textarea, select {
  width: 100%;
  border: 1px solid #d8e2ee;
  border-radius: 12px;
  background: #fff;
  color: var(--ak-ink);
  padding: 12px 14px;
  box-shadow: inset 0 1px 1px rgba(11,31,58,.03);
}
input:focus, textarea:focus, select:focus {
  border-color: var(--ak-blue);
  outline: 3px solid rgba(31,95,159,.14);
}

@media (max-width: 1120px) {
  .site-header { gap: 16px; padding-left: 22px; padding-right: 22px; }
  .site-navigation .menu > li > a { padding-left: 10px; padding-right: 10px; font-size: 13.5px; }
  .custom-logo { max-width: 195px; }
}

@media (max-width: 900px) {
  body.ak-menu-open { overflow: hidden; }
  .site-header { min-height: 72px; flex-wrap: wrap; align-content: center; }
  .custom-logo { max-height: 50px; max-width: 210px; }
  .ak-menu-toggle { display: inline-flex; margin-left: auto; }
  .site-navigation {
    order: 3;
    flex-basis: 100%;
    display: none;
    justify-content: stretch;
  }
  body.ak-menu-open .site-navigation { display: block; }
  .site-navigation ul.menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    width: 100%;
    margin-top: 14px;
    padding: 14px;
    border: 1px solid rgba(11,31,58,.1);
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff, #f8fbff);
    box-shadow: var(--ak-shadow);
  }
  .site-navigation .menu > li > a {
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 14px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(11,31,58,.08);
    font-size: 15.5px;
  }
  .site-navigation .menu > li > a::after {
    content: "›";
    color: var(--ak-gold);
    font-size: 22px;
    line-height: 1;
  }
  .site-navigation .menu > li:last-child > a::after { color: #111827; }
}

@media (max-width: 560px) {
  .site-header { padding: 11px 14px; }
  .custom-logo { max-width: 178px; max-height: 46px; }
  .ak-menu-toggle { padding: 9px 12px; }
  .ak-menu-label { font-size: 14px; }
  h1 { font-size: clamp(2rem, 10vw, 3rem); }
  p, li { font-size: 1rem; }
}
/* ========================================
   Attykalibre Content Block Styles
   Added 2026-06-16: visual polish for homepage + hub page components
   ======================================== */

/* Shell - main content wrapper */
.akl-shell {
  max-width: 1160px;
  margin: 0 auto;
}

/* Hero section */
.akl-hero {
  padding: 3.5rem 0 2rem;
  text-align: center;
}
.akl-hero .akl-mini {
  display: inline-block;
  margin: 0 auto 1.2rem;
  padding: 6px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fef7e6, #fdf1d3);
  color: #0b1f3a !important;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.akl-hero p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.12rem;
  color: var(--ak-muted);
  line-height: 1.7;
}

/* Bands - content sections */
.akl-band {
  padding: 2rem 0;
}
.akl-band h2 {
  margin-top: 0;
  margin-bottom: 0.6em;
}
.akl-band > p {
  color: var(--ak-muted);
  max-width: 72ch;
}

/* Grid - card grid */
.akl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 1.8rem 0;
}

/* Cards */
.akl-card {
  background: #ffffff;
  border: 1px solid var(--ak-line);
  border-radius: var(--ak-radius);
  padding: 1.6rem 1.5rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.akl-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(11, 31, 58, 0.1);
}
.akl-card h3 {
  margin-top: 0;
  margin-bottom: 0.5em;
  font-size: 1.08rem;
}
.akl-card h3 a {
  color: var(--ak-navy);
  text-decoration: none;
}
.akl-card h3 a:hover {
  color: var(--ak-blue);
}
.akl-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ak-muted);
  line-height: 1.55;
}

/* CTA row */
.akl-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: 1.5rem 0;
}

/* Buttons */
.akl-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 750;
  font-size: 0.95rem;
  line-height: 1.15;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}
.akl-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}
.akl-btn:focus-visible {
  outline: 3px solid var(--ak-gold);
  outline-offset: 2px;
}

/* Primary button */
.akl-btn:not(.secondary):not(.ghost) {
  background: linear-gradient(135deg, var(--ak-navy), var(--ak-blue));
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(11, 31, 58, 0.18);
}
.akl-btn:not(.secondary):not(.ghost):hover {
  box-shadow: 0 14px 30px rgba(11, 31, 58, 0.22);
  filter: brightness(1.05);
}

/* Secondary button */
.akl-btn.secondary {
  background: #ffffff;
  color: var(--ak-navy);
  border: 1.5px solid var(--ak-line);
  box-shadow: 0 4px 12px rgba(11, 31, 58, 0.04);
}
.akl-btn.secondary:hover {
  border-color: var(--ak-gold);
  box-shadow: 0 8px 20px rgba(184, 138, 43, 0.12);
}

/* Ghost button */
.akl-btn.ghost {
  background: transparent;
  color: var(--ak-blue);
  border: 1.5px solid transparent;
}
.akl-btn.ghost:hover {
  background: var(--ak-soft);
  color: var(--ak-navy);
}

/* Split layout */
.akl-split {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  margin: 2rem 0;
}
@media (max-width: 700px) {
  .akl-split {
    grid-template-columns: 1fr;
  }
}

/* Note / disclaimer blocks */
.akl-note {
  background: var(--ak-soft);
  border: 1px solid var(--ak-line);
  border-radius: var(--ak-radius);
  padding: 1.8rem 2rem;
  margin: 2rem 0;
}
.akl-note h2 {
  margin-top: 0;
  font-size: 1.15rem;
}
.akl-note p,
.akl-note li {
  font-size: 0.95rem;
  color: var(--ak-muted);
}

/* FAQ items */
.akl-faq-item {
  margin: 1.2rem 0;
  padding: 0.2rem 0;
}
.akl-faq-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3em;
  color: var(--ak-navy);
}
.akl-faq-item p {
  color: var(--ak-muted);
  margin: 0;
  line-height: 1.6;
}

/* Link list */
.akl-link-list {
  list-style: none;
  padding-left: 0;
}
.akl-link-list li {
  padding: 0.4em 0;
}
.akl-link-list a {
  font-weight: 600;
}

/* Small text */
.akl-small {
  font-size: 0.88rem;
  color: var(--ak-muted);
}

/* Contact options band */
.akl-contact-options {
  background: linear-gradient(135deg, #f8fbff, #ffffff);
  border: 1px solid var(--ak-line);
  border-radius: var(--ak-radius);
  padding: 2rem;
  text-align: center;
}
.akl-contact-options h2 {
  margin-top: 0;
}
.akl-contact-options p {
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ak-muted);
}

/* Page header for non-homepage */
.page-header .entry-title {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 1rem 0 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 700px) {
  .akl-grid {
    grid-template-columns: 1fr;
  }
  .akl-hero {
    padding: 2rem 0 1.2rem;
  }
  .akl-hero p {
    font-size: 1rem;
  }
  .akl-cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  .akl-btn {
    width: 100%;
  }
  .akl-card {
    padding: 1.2rem;
  }
  .akl-note {
    padding: 1.2rem;
  }
  .akl-contact-options {
    padding: 1.5rem;
  }
}

/* Hero heading contrast fix - ensure headings are white on dark gradient backgrounds */
.akl-hero h1,
.akl-hero h2,
.akl-hero h3 {
  color: #ffffff !important;
}

/* Hero text contrast - ensure body text is visible on dark backgrounds */
.akl-hero p,
.akl-hero li {
  color: rgba(255, 255, 255, 0.93) !important;
}


}


/* Desktop-only: center homepage hero heading */
@media (min-width: 768px) {
  body.home .page-header .entry-title {
    font-size: clamp(1.65rem, 2.8vw, 2.8rem) !important;
    text-align: center !important;
    max-width: 860px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 1.5rem 0 0.3rem;
  }
}

/* Floating Messenger icon */
.akl-floating-messenger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #006aff;
  box-shadow: 0 6px 20px rgba(0, 106, 255, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}
.akl-floating-messenger:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(0, 106, 255, 0.45);
}
