.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

.glass-panel {
  background: rgba(247, 249, 251, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.architectural-shadow {
  box-shadow: 0 10px 40px rgba(25, 28, 30, 0.04);
}

.logo-marquee {
  position: relative;
  overflow: hidden;
}

.logo-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  will-change: transform;
}

.logo-marquee-group {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 3rem;
  padding-inline: 1.5rem;
}

.logo-marquee-logo {
  display: flex;
  min-height: 120px;
  width: 220px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
}

.prose img {
  border-radius: 1rem;
}

.miana-primary-button {
  background-image: linear-gradient(90deg, #00113a 0%, #002366 100%) !important;
  color: #ffffff !important;
}

.miana-primary-button:hover {
  opacity: 0.92 !important;
}

.miana-secondary-button {
  background-color: #006a64 !important;
  color: #ffffff !important;
}

.miana-secondary-button:hover {
  background-color: #72f7ed !important;
  color: #00113a !important;
}

.miana-hero-dark-overlay {
  background: rgba(0, 17, 58, 0.25);
  mix-blend-mode: multiply;
}

.miana-hero-light-wash {
  background: linear-gradient(90deg, #f7f9fb 0%, rgba(247, 249, 251, 0.6) 55%, rgba(247, 249, 251, 0) 100%);
}

.service-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(197, 198, 210, 0.24);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.65s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.65s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -20% auto auto -10%;
  width: 180px;
  height: 180px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(110, 244, 234, 0.16) 0%, rgba(110, 244, 234, 0) 70%);
  opacity: 0;
  transform: translate3d(0, 12px, 0) scale(0.92);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover {
  transform: translate3d(0, -10px, 0);
  box-shadow: 0 24px 60px rgba(25, 28, 30, 0.1);
  border-color: rgba(0, 106, 100, 0.22);
  background: #ffffff;
}

.service-card:hover::before {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.service-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1.25rem;
  background: linear-gradient(160deg, rgba(0, 17, 58, 0.06), rgba(0, 106, 100, 0.14));
  color: #006a64;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 12px 30px rgba(0, 17, 58, 0.08);
  overflow: hidden;
  isolation: isolate;
}

.service-icon::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.28) 22%, rgba(255, 255, 255, 0) 62%);
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-icon::after {
  content: "";
  position: absolute;
  top: -35%;
  left: -65%;
  width: 58%;
  height: 170%;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.12) 32%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.12) 68%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-180%) rotate(18deg);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.service-card .service-icon,
.service-card h3,
.service-card p,
.service-card li {
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), color 0.45s ease, opacity 0.45s ease;
}

.service-card:hover .service-icon {
  transform: translate3d(0, -4px, 0) scale(1.05);
  color: #ffffff;
  background: linear-gradient(155deg, #00113a 0%, #006a64 100%);
  box-shadow: 0 18px 38px rgba(0, 17, 58, 0.18);
}

.service-card:hover .service-icon::before {
  opacity: 1;
  transform: scale(1.15);
}

.service-card:hover .service-icon::after {
  opacity: 1;
  transform: translateX(320%) rotate(18deg);
}

.service-card:hover h3 {
  transform: translate3d(0, -2px, 0);
}

.service-card:hover p {
  color: #364152 !important;
}

.service-card:hover li {
  transform: translate3d(4px, 0, 0);
  color: #00113a !important;
}

/* Fallback brand colors in case Tailwind CDN/custom config is cached or delayed */
.text-primary { color: #00113a !important; }
.text-secondary { color: #006a64 !important; }
.text-white { color: #ffffff !important; }
.text-white\/80 { color: rgba(255, 255, 255, 0.8) !important; }
.text-white\/70 { color: rgba(255, 255, 255, 0.7) !important; }
.text-primary\/75 { color: rgba(0, 17, 58, 0.75) !important; }

.bg-primary { background-color: #00113a !important; }
.bg-primary\/70 { background-color: rgba(0, 17, 58, 0.7) !important; }
.bg-primary-container { background-color: #002366 !important; }
.bg-secondary { background-color: #006a64 !important; }
.bg-surface { background-color: #f7f9fb !important; }
.bg-surface-container-low { background-color: #f2f4f6 !important; }
.bg-surface-container-lowest { background-color: #ffffff !important; }

.border-primary-container { border-color: #002366 !important; }
.border-secondary { border-color: #006a64 !important; }

.from-primary { --tw-gradient-from: #00113a var(--tw-gradient-from-position) !important; --tw-gradient-to: rgba(0, 17, 58, 0) var(--tw-gradient-to-position) !important; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important; }
.to-primary-container { --tw-gradient-to: #002366 var(--tw-gradient-to-position) !important; }

.hover\:bg-secondary-fixed:hover { background-color: #72f7ed !important; color: #00113a !important; }
.hover\:text-primary:hover { color: #00113a !important; }
.hover\:text-white:hover { color: #ffffff !important; }
.hover\:opacity-90:hover { opacity: 0.9 !important; }

.miana-contact-form > * + * {
  margin-top: 1.25rem;
}

.miana-contact-form form,
.miana-contact-form .contact-form,
.miana-contact-form .wp-block-jetpack-contact-form {
  display: grid;
  gap: 1.25rem;
}

.miana-contact-form p {
  margin: 0;
}

.miana-contact-form label,
.miana-contact-form .grunion-field-label,
.miana-contact-form .jetpack-field-label {
  display: grid;
  gap: 0.5rem;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  color: #00113a;
}

.miana-contact-form input[type="text"],
.miana-contact-form input[type="email"],
.miana-contact-form input[type="tel"],
.miana-contact-form input[type="url"],
.miana-contact-form textarea,
.miana-contact-form select {
  width: 100%;
  border: 1px solid #d7dce4;
  border-radius: 0.5rem;
  background: #ffffff;
  padding: 0.9rem 1rem;
  color: #334155;
}

.miana-contact-form textarea {
  min-height: 10rem;
  resize: vertical;
}

.miana-select-wrap {
  position: relative;
}

.miana-select-wrap select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3.25rem;
}

.miana-select-icon {
  pointer-events: none;
  position: absolute;
  right: 1rem;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #006a64;
  transform: translateY(-50%);
  transition: transform 0.25s ease, color 0.25s ease;
}

.miana-select-wrap:focus-within .miana-select-icon {
  transform: translateY(-50%) scale(1.05);
  color: #00113a;
}

.miana-contact-form input:focus,
.miana-contact-form textarea:focus,
.miana-contact-form select:focus {
  border-color: #006a64;
  box-shadow: 0 0 0 3px rgba(0, 106, 100, 0.12);
  outline: none;
}

.miana-contact-form button[type="submit"],
.miana-contact-form input[type="submit"],
.miana-contact-form .wp-block-button__link {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 0.5rem;
  background-image: linear-gradient(90deg, #00113a 0%, #002366 100%);
  padding: 0.9rem 1.5rem;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.miana-contact-form button[type="submit"]:hover,
.miana-contact-form input[type="submit"]:hover,
.miana-contact-form .wp-block-button__link:hover {
  opacity: 0.92;
}

.miana-contact-form button[type="submit"]:disabled,
.miana-contact-form input[type="submit"]:disabled {
  cursor: wait;
  opacity: 0.75;
}

.miana-form-status {
  min-height: 1.5rem;
  margin: 0;
}

.miana-form-status[data-state="pending"] {
  color: #006a64 !important;
}

.miana-form-status[data-state="success"] {
  color: #0f766e !important;
}

.miana-form-status[data-state="error"] {
  color: #ba1a1a !important;
}

.miana-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.miana-modal {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(247, 249, 251, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
  z-index: 20;
}

.miana-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.miana-modal-card {
  width: min(100%, 30rem);
  border: 1px solid rgba(197, 198, 210, 0.4);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.96);
  padding: 2rem;
  box-shadow: 0 24px 60px rgba(25, 28, 30, 0.12);
  text-align: left;
}

.miana-modal-badge {
  display: inline-flex;
  height: 3.5rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: linear-gradient(135deg, #00113a 0%, #006a64 100%);
  color: #ffffff;
  box-shadow: 0 18px 38px rgba(0, 17, 58, 0.18);
}

.miana-modal-card h3 {
  margin: 1rem 0 0.75rem;
  font-family: "Manrope", sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  color: #00113a;
}

.miana-modal-card p {
  margin: 0;
  color: #475569;
  line-height: 1.7;
}

.miana-modal-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: flex-start;
}

.miana-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 0.5rem;
  background-image: linear-gradient(90deg, #00113a 0%, #002366 100%);
  padding: 0.9rem 1.5rem;
  font-family: "Manrope", sans-serif;
  font-weight: 700;
  color: #ffffff;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.miana-modal-close:hover {
  opacity: 0.92;
}
