/*
  Core Microsystems Inc.
  File: /css/contact.css
  Version: v0.1
  Updated: 2026-01-13
  Notes:
  - Contact page layout + hero + cards
*/

/* ===== Hero ===== */
.contact-hero{
  background: var(--hero-bg);
  background: -webkit-gradient(linear, left top, right bottom, 
    from(var(--blue-900)), 
    to(var(--blue-500)));
  /* Keep the complex one above → Safari will use the last one it understands */
color: #ffffff;
}

.contact-hero-title{
  margin: 0 0 .75rem;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
}

.contact-hero-sub{
  margin: 0 auto;
  max-width: 760px;
  opacity: .92;
}

/* Grid */
.contact-grid{
  display:grid;
  grid-template-columns: 1.2fr .9fr;
  gap: 3rem;
  align-items:start;
}

/* Headings */
.contact-h2{
  margin: 0 0 1.2rem;
  font-size: 1.25rem;
  font-weight: 900;
  color: #0b1220;
}

.contact-lead{
  margin: -0.5rem 0 1.5rem;
}

/* Form */
.contact-form{
  background:#fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.6rem 1.6rem;
  box-shadow: var(--shadow-soft);
}

.field{
  display:block;
  margin-bottom: 1.1rem;
}

.field span{
  display:block;
  font-size: .85rem;
  color: #334155;
  font-weight: 700;
  margin-bottom: .45rem;
}

.req{ color: #ef4444; }

.contact-form input,
.contact-form textarea{
  width:100%;
  border: 1px solid rgba(2,6,23,.12);
  border-radius: 8px;
  padding: .75rem .85rem;
  font: inherit;
  outline: none;
  background: #f8fafc;
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(47,164,198,.55);
  box-shadow: 0 0 0 4px rgba(47,164,198,.12);
  background: #ffffff;
}

.contact-submit{
  width: 100%;
  justify-content:center;
  margin-top: .4rem;
}

.contact-note{
  margin: 1rem 0 0;
  font-size: .95rem;
}

/* Right side cards */
.info-stack{
  display:flex;
  flex-direction:column;
  gap: 1rem;
}

.info-card{
  display:flex;
  gap: 1rem;
  align-items:center;
  background:#fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
}

.info-icon{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(47,164,198,.12);
  border: 1px solid rgba(47,164,198,.18);
  flex: 0 0 40px;
}
.info-icon-img{
  width: 22px;   /* adjust to match your layout */
  height: auto;
  display: block;
}
.info-icon-img{
  width: 22px;
  height: auto;
  display: block;

  filter:
    invert(39%)
    sepia(79%)
    saturate(420%)
    hue-rotate(165deg)
    brightness(92%)
    contrast(92%);
}
.info-title{
  font-weight: 900;
  font-size: .95rem;
  color: #0b1220;
  margin-bottom: .2rem;
}

.info-value{
  color: var(--muted);
  text-decoration:none;
  font-weight: 600;
}

.info-value:hover{
  color: var(--blue-800);
}

/* Business hours card */
.hours-card{
  margin-top: .2rem;
  background: var(--blue-950);
  color: rgba(255,255,255,.92);
  border-radius: 16px;
  padding: 1.2rem 1.2rem;
  box-shadow: var(--shadow);
}

.hours-title{
  font-weight: 900;
  margin-bottom: .9rem;
}

.hours-grid{
  display:grid;
  grid-template-columns: 1fr auto;
  gap: .55rem 1rem;
  font-size: .95rem;
}

.hours-day{ color: rgba(255,255,255,.75); font-weight: 700; }
.hours-time{ color: rgba(255,255,255,.92); font-weight: 700; text-align:right; }

/* Responsive */
@media (max-width: 980px){
  .contact-grid{
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

