/*
Theme Name: Misrok Elementor
Theme URI: https://misrok.com/
Author: Website Administrator
Description: Lightweight standalone theme for Elementor with Header Footer Builder for Elementor by Turbo Addons support and WCAG-focused defaults.
Version: 1.1.0
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.0
Text Domain: misrok-elementor
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --theme-color-primary: #1B3A6B;
  --theme-color-primary-dark: #12294A;
  --theme-color-accent: #2E6DB4;
  --theme-color-text: #252525;
  --theme-color-muted: #4B5563;
  --theme-color-background: #ffffff;
  --theme-color-surface: #EEF2F7;
  --theme-color-border: #C7D2E0;
  --theme-color-error: #9b1c1c;
  --theme-focus-color: #1a5fb4;
  --theme-content-width: 78rem;
  --theme-readable-width: 48rem;
  --theme-radius: 0.25rem;
  --theme-focus-ring: 0 0 0 3px #ffffff, 0 0 0 6px var(--theme-focus-color);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  background: var(--theme-color-background);
  color: var(--theme-color-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: break-word;
}

img, svg, video, iframe {
  max-width: 100%;
  height: auto;
}

button, input, select, textarea {
  font: inherit;
}

a {
  color: var(--theme-color-primary);
  text-decoration-thickness: 0.1em;
  text-underline-offset: 0.16em;
}

a:hover { color: var(--theme-color-primary-dark); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  border-radius: var(--theme-radius);
  box-shadow: var(--theme-focus-ring);
  outline: 3px solid transparent;
  outline-offset: 3px;
}

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

.screen-reader-text:focus {
  position: fixed !important;
  z-index: 100000;
  top: 0.75rem;
  left: 0.75rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  clip: auto;
  overflow: visible;
  white-space: normal;
  background: #ffffff;
  color: #111111;
  font-weight: 700;
}

.theme-site-main:focus { outline: none; }

.theme-content {
  width: min(100% - 2rem, var(--theme-content-width));
  margin-inline: auto;
}

.theme-entry-content > :where(p, ul, ol, blockquote) {
  max-width: var(--theme-readable-width);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--theme-color-primary-dark);
  line-height: 1.2;
  text-wrap: balance;
}

p, li { text-wrap: pretty; }

button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.elementor-button {
  min-height: 2.75rem;
  min-width: 2.75rem;
}

input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
select,
textarea {
  width: 100%;
  min-height: 2.75rem;
  border: 2px solid var(--theme-color-border);
  border-radius: var(--theme-radius);
  background: #ffffff;
  color: var(--theme-color-text);
  padding: 0.65rem 0.75rem;
}

textarea { min-height: 8rem; resize: vertical; }
label { display: inline-block; margin-block-end: 0.35rem; font-weight: 700; }
::placeholder { color: #62685f; opacity: 1; }

[aria-invalid="true"],
.has-error input,
.has-error select,
.has-error textarea {
  border-color: var(--theme-color-error);
}

.elementor-message-danger,
.elementor-error { color: var(--theme-color-error); }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.75rem; border: 1px solid var(--theme-color-border); text-align: left; }
th { background: var(--theme-color-surface); }

@media (max-width: 48rem) {
  .theme-content { width: min(100% - 1.25rem, var(--theme-content-width)); }
}

@media (forced-colors: active) {
  a, button, input, select, textarea, summary { forced-color-adjust: auto; }
}

@media print {
  *, *::before, *::after { background: transparent !important; box-shadow: none !important; color: #000 !important; }
  a { text-decoration: underline; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
  nav, form, .elementor-button, .no-print { display: none !important; }
}


/* Misrok Contact Form 7 button */
.wpcf7-form input[type="submit"].misrok-submit,
.wpcf7-form .wpcf7-submit {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    min-width: 260px;
    min-height: 58px;
    padding: 16px 32px !important;
    margin: 10px 0 0 !important;

    color: #ffffff !important;
    background-color: #2E6DB4 !important;
    background-image: none !important;
    border: 2px solid #2E6DB4 !important;
    border-radius: 3px !important;
    box-shadow: none !important;

    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: 0.06em !important;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none !important;

    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease !important;
}

.wpcf7-form input[type="submit"].misrok-submit:hover,
.wpcf7-form .wpcf7-submit:hover {
    color: #ffffff !important;
    background-color: #12294A !important;
    border-color: #12294A !important;
    transform: translateY(-2px);
}

.wpcf7-form input[type="submit"].misrok-submit:focus-visible,
.wpcf7-form .wpcf7-submit:focus-visible {
    outline: 3px solid rgba(164, 184, 62, 0.4) !important;
    outline-offset: 3px;
}

.wpcf7-form input[type="submit"].misrok-submit:disabled,
.wpcf7-form .wpcf7-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 600px) {
    .wpcf7-form input[type="submit"].misrok-submit,
    .wpcf7-form .wpcf7-submit {
        width: 100% !important;
        min-width: 0;
    }
}
/* ==== Footer nav (.fnav) - 2026-10-15 rev4: wrapped chips on desktop, single column on mobile ==== */
.fnav .tahefobu-nav-menu-horizontal .tahefobu-nav-menu {
    flex-wrap: wrap;
    white-space: normal;
    width: 100%;
}
.fnav .tahefobu-nav-menu-horizontal .tahefobu-nav-menu > li {
    display: inline-block;
    white-space: nowrap;
}
@media screen and (max-width: 767px) {
    .fnav .tahefobu-nav-menu-container {
        display: block !important;
    }
    .fnav .tahefobu-mobile-nav-menu-container {
        display: none !important;
    }
    .fnav .tahefobu-nav-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        row-gap: 6px;
        width: 100%;
        text-align: center;
    }
    .fnav .tahefobu-nav-menu > li,
    .fnav .tahefobu-nav-menu > li a {
        text-align: center;
    }
    .fnav {
        width: 100% !important;
        margin-inline: 0 !important;
    }
    .fnav .tahefobu-nav-menu > li {
        display: block;
        white-space: nowrap;
        width: 100%;
        margin-inline: 0 !important;
    }
    .fnav .tahefobu-nav-menu > li a {
        display: block;
        text-align: center;
    }
}

/* client-note 2026-11-17: larger logo in header */
.tahefobu-site-logo img { height: 48px; width: auto; }
@media (max-width:767px){ .tahefobu-site-logo img { height: 38px; } }

/* client-note 2026-11-17: nav contrast on navy strip */
.elementor-1295 .elementor-element-1965526 .tahefobu-nav-menu .tahefobu-menu-item,
.elementor-1295 .elementor-element-1965526 .tahefobu-nav-menu > .menu-item-has-children > .tahefobu-sub-icon { color: #FFFFFF !important; }
.elementor-1295 .elementor-element-1965526 .tahefobu-nav-menu .tahefobu-menu-item:hover,
.elementor-1295 .elementor-element-1965526 .tahefobu-nav-menu .tahefobu-menu-item.tahefobu-active-menu-item { color: #C7D2E0 !important; }

.elementor-1295 .elementor-element-1965526 .tahefobu-nav-menu a,
.elementor-1295 .elementor-element-1965526 .tahefobu-nav-menu .tahefobu-sub-icon { color: #FFFFFF !important; }

/* client-note 2026-11-17: dropdown menu on navy header */
.elementor-1295 .elementor-element-1965526 .tahefobu-nav-menu .tahefobu-sub-menu-item { color: #1B3A6B !important; }
.elementor-1295 .elementor-element-1965526 .tahefobu-nav-menu ul.tahefobu-sub-menu,
.elementor-1295 .elementor-element-1965526 .tahefobu-nav-menu ul.sub-menu { background-color: #FFFFFF !important; }
.elementor-1295 .elementor-element-1965526 .tahefobu-nav-menu ul .tahefobu-sub-menu-item:hover,
.elementor-1295 .elementor-element-1965526 .tahefobu-nav-menu ul .tahefobu-sub-menu-item.tahefobu-active-menu-item { color: #FFFFFF !important; background-color: #1B3A6B !important; }

/* ==== ADA WCAG-AA contrast fixes v2 (2026-11-18) ====
   in-text links on dark bands only; native buttons excluded (styled in elementor data)
   slate bands: #EAF0F8 (6.45) | navy band: #FFFFFF (11.3) | light chips: #12294A (9.5) */
.elementor-element-717d0cc a:not(.elementor-button),
.elementor-element-2ecf504 a:not(.elementor-button),
.elementor-element-8f68ef7 a:not(.elementor-button),
.elementor-element-8781519 a:not(.elementor-button),
.elementor-element-194ab63 a:not(.elementor-button),
.elementor-element-cb23524 a:not(.elementor-button),
.elementor-element-1a8ba88 a:not(.elementor-button),
.elementor-element-9b7ffc7 a:not(.elementor-button) { color:#EAF0F8; text-decoration:underline; text-underline-offset:3px; }
.elementor-element-9b7ffc7 a:not(.elementor-button) { color:#FFFFFF; }
.elementor-element-9b7ffc7 a:not(.elementor-button):hover,
.elementor-element-9b7ffc7 a:not(.elementor-button):focus-visible { color:#C7D2E0; }
.elementor-element-717d0cc a:not(.elementor-button):hover,
.elementor-element-717d0cc a:not(.elementor-button):focus-visible,
.elementor-element-2ecf504 a:not(.elementor-button):hover,
.elementor-element-2ecf504 a:not(.elementor-button):focus-visible,
.elementor-element-8f68ef7 a:not(.elementor-button):hover,
.elementor-element-8f68ef7 a:not(.elementor-button):focus-visible,
.elementor-element-8781519 a:not(.elementor-button):hover,
.elementor-element-8781519 a:not(.elementor-button):focus-visible,
.elementor-element-194ab63 a:not(.elementor-button):hover,
.elementor-element-194ab63 a:not(.elementor-button):focus-visible,
.elementor-element-cb23524 a:not(.elementor-button):hover,
.elementor-element-cb23524 a:not(.elementor-button):focus-visible,
.elementor-element-1a8ba88 a:not(.elementor-button):hover,
.elementor-element-1a8ba88 a:not(.elementor-button):focus-visible { color:#FFFFFF; }
.elementor-element-d1368e1 a:not(.elementor-button) { color:#12294A; }
.elementor-element-d1368e1 a:not(.elementor-button):hover,
.elementor-element-d1368e1 a:not(.elementor-button):focus-visible { color:#0C2141; }
/* dark-band buttons: restore brand styles + visible edge for affordance */
.elementor-element-717d0cc .elementor-button,
.elementor-element-2ecf504 .elementor-button,
.elementor-element-8f68ef7 .elementor-button,
.elementor-element-8781519 .elementor-button,
.elementor-element-194ab63 .elementor-button,
.elementor-element-cb23524 .elementor-button,
.elementor-element-1a8ba88 .elementor-button,
.elementor-element-9b7ffc7 .elementor-button { box-shadow: inset 0 0 0 2px #FFFFFF33; }




/* scoped to contact form page 1633 */
.misrok-contact-form {
  scroll-margin-top: 120px;
  max-width: 720px;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid #A9BCD8;
  border-radius: 12px;
  padding: 40px 44px;
  box-shadow: 0 10px 32px rgba(18,41,74,.18);
}
.misrok-form-intro h2 { color:#12294A; font-family:"Roboto Slab", Georgia, serif; font-size:1.8rem; margin:0 0 .5rem; }
.misrok-form-intro p { color:#4B5563; margin:0 0 1.5rem; }
.misrok-form-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem 1.25rem; text-align:left; }
.misrok-field { display:flex; flex-direction:column; }
.misrok-field-full { grid-column: 1 / -1; }
.misrok-field label { color:#12294A; font-weight:600; font-size:.95rem; margin-bottom:.35rem; }
select { appearance:none; -webkit-appearance:none; background-image:url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2312294A'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; background-size:20px; padding-right:40px;
}
.misrok-field input, .misrok-field select, .misrok-field textarea {
  border:2px solid #A9BCD8; border-radius:4px; padding:.65rem .75rem; background:#fff; color:#252525; width:100%;
}
.misrok-field input:focus, .misrok-field select:focus, .misrok-field textarea:focus {
  outline:3px solid rgba(46,109,180,.35); outline-offset:1px; border-color:#2E6DB4;
}
.misrok-field textarea { min-height:8rem; resize:vertical; }
.misrok-consent { margin-top:1rem; text-align:left; }
.misrok-consent .wpcf7-form-control { margin-right:.5rem; transform:scale(1.1); }
.misrok-consent .wpcf7-acceptance-label,
.misrok-consent label { font-weight:400; font-size:.85rem; color:#4B5563; line-height:1.5; cursor:pointer; }
.misrok-privacy { font-size:.85rem; color:#4B5563; margin:1rem 0 0; text-align:left; }
.misrok-privacy a { color:#2E6DB4; text-decoration:underline; text-underline-offset:2px; }
.misrok-privacy a:hover { color:#12294A; }
.misrok-submit-row { margin-top:1.25rem; text-align:left; }
.misrok-required-note { font-size:.8rem; color:#4B5563; text-align:left; margin-top:.75rem; }
@media (max-width:767px){
  .misrok-form-grid { grid-template-columns:1fr; }
  .misrok-contact-form { padding: 24px 20px; border-radius: 8px; }
}