/* ==========================================================================
   Syrohchem — Contact Us Page Styles
   Extends home.css / about.css. New components only:
   sy-quickbar, sy-directory (offices), sy-inquiry-bar, sy-map-block/card,
   sy-enquiry-panel, sy-form-*.

   REDESIGN PASS v2 — the earlier version rendered as four separate
   bordered/shadowed boxes per section, which read as "boxy" rather than
   editorial. Offices and Inquiry Contacts are now single cohesive
   panels with divided rows/columns instead of a grid of individual
   cards — closer to how BASF/Evonik/Merck list office directories.
   Hexagon shapes stay gone (rounded-square badges, dot-grid texture).
   Real phone number now in place of the XXXXX placeholder.
   No IDs, classes used by JS/Angular, form field names, or the form
   action/method were touched.
   ========================================================================== */

:root{
  --sy-navy:        var(--sy-primary, #0b2e4f);
  --sy-navy-dark:   var(--sy-primary-dark, #071d33);
  --sy-navy-light:  #163c63;
  --sy-gold:        var(--sy-accent, #c9973a);
  --sy-gold-dark:   var(--sy-accent-dark, #a97b23);
  --sy-blue:        #1B6FC9;
  --sy-blue-dark:   #14549b;
  --sy-green:       #1E9E77;
  --sy-green-dark:  #157A5C;
  --sy-violet:      #6E52C9;
  --sy-violet-dark: #5A41AA;
  --sy-ink:         var(--sy-text, #1d2733);
  --sy-muted:       var(--sy-text-muted, #5c6a78);
  --sy-line:        var(--sy-border, #e6e9ed);
  --sy-grey-bg:     var(--sy-bg-grey, #f5f7fa);
  --sy-radius:      14px;
  --sy-radius-sm:   10px;
  --sy-badge-radius: 12px;
}

/* --------------------------------------------------------------------
   Navbar clearance
   -------------------------------------------------------------------- */
.sy-contact-page section[id]{
  scroll-margin-top: 130px;
}

.sy-hero.sy-hero--sm{
  min-height: 56vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 96px;
}
@media (max-width: 767px){
  .sy-hero.sy-hero--sm{
    min-height: 60vh;
    padding-top: 130px;
    padding-bottom: 88px;
  }
}
/* Stronger, bottom-weighted overlay — the earlier version left the
   lower third (where the paragraph sits, right above the quickbar)
   too bright against a busy photo, so the text was hard to read. */
.sy-hero--sm .sy-hero__overlay{
  background:
    linear-gradient(180deg, rgba(6,16,29,.80) 0%, rgba(6,16,29,.72) 35%, rgba(6,16,29,.90) 78%, rgba(6,16,29,.96) 100%);
}
.sy-hero__title{
  font-weight: 700;
  letter-spacing: -.01em;
}
.sy-hero--sm .sy-hero__title,
.sy-hero--sm .sy-hero__lede{
  text-shadow: 0 2px 16px rgba(0,0,0,.45);
}
.sy-hero--sm .sy-hero__lede{
  color: rgba(255,255,255,.92);
  max-width: 620px;
}

.sy-contact-info__intro{
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.sy-section{ padding-top: 5rem; padding-bottom: 5rem; }

.sy-dot-grid{
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* --------------------------------------------------------------------
   Floating quick-contact strip
   -------------------------------------------------------------------- */
.sy-quickbar-wrap{
  position: relative;
  z-index: 5;
  margin-top: -34px;
  margin-bottom: 0;
}
.sy-quickbar{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--sy-radius);
  border: 1px solid var(--sy-line);
  box-shadow: 0 24px 55px rgba(6,16,29,.22);
  overflow: hidden;
}
.sy-quickbar__item{
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.4rem 1.3rem;
  text-decoration: none;
  border-right: 1px solid var(--sy-line);
  transition: background .2s ease, transform .2s ease;
}
.sy-quickbar__item:last-child{ border-right: none; }
.sy-quickbar__item:hover{ background: var(--sy-grey-bg); transform: translateY(-2px); }
.sy-quickbar__icon{
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: var(--sy-badge-radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(11,46,79,.10);
  border: 1px solid rgba(11,46,79,.14);
  color: var(--sy-navy);
  font-size: 1.08rem;
  transition: transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease;
}
.sy-quickbar__item:hover .sy-quickbar__icon{
  background: var(--sy-navy);
  border-color: var(--sy-navy);
  color: #fff;
  transform: translateY(-2px);
}
.sy-quickbar__item strong{ display: block; font-size: .9rem; color: var(--sy-ink); }
.sy-quickbar__item small{ display: block; font-size: .8rem; color: var(--sy-muted); }
.sy-quickbar__item--cta{ background: var(--sy-navy); }
.sy-quickbar__item--cta:hover{ background: var(--sy-navy-light); }
.sy-quickbar__item--cta .sy-quickbar__icon{ background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.22); color: var(--sy-gold); }
.sy-quickbar__item--cta:hover .sy-quickbar__icon{ background: var(--sy-gold); border-color: var(--sy-gold); color: #fff; }
.sy-quickbar__item--cta strong{ color: #fff; }
.sy-quickbar__item--cta small{ color: rgba(255,255,255,.75); }

@media (max-width: 991px){
  .sy-quickbar{ grid-template-columns: repeat(2, 1fr); }
  .sy-quickbar__item:nth-child(2){ border-right: none; }
}
@media (max-width: 575px){
  .sy-quickbar-wrap{ margin-top: -22px; }
  .sy-quickbar{ grid-template-columns: 1fr; }
  .sy-quickbar__item{ border-right: none; border-bottom: 1px solid var(--sy-line); }
  .sy-quickbar__item:last-child{ border-bottom: none; }
}

/* --------------------------------------------------------------------
   OFFICE DIRECTORY — no card, no wrapping box, no badge-in-a-box.
   Rows sit straight on the section background; the only structure is
   a hairline rule between rows and a large muted index numeral, the
   way BASF/Evonik "our locations" listings are typically set —
   typography carries it, not containers.
   -------------------------------------------------------------------- */
.sy-directory{ }
.sy-directory__row{
  display: grid;
  grid-template-columns: 56px 1.4fr 1fr;
  align-items: start;
  gap: 1.75rem;
  padding: 2.2rem 0;
  border-bottom: 1px solid var(--sy-line);
}
.sy-directory__row:first-child{ padding-top: 0; }
.sy-directory__row:last-child{ border-bottom: none; padding-bottom: 0; }

.sy-directory__badge{
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--sy-line);
  line-height: 1;
  padding-top: .1rem;
}
.sy-directory__row--primary .sy-directory__badge{ color: var(--sy-gold); }

.sy-directory__body{ min-width: 0; }
.sy-directory__tag{
  display: block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--sy-gold-dark);
  margin-bottom: .4rem;
}
.sy-directory__name{
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--sy-ink);
  margin-bottom: .35rem;
  line-height: 1.3;
}
.sy-directory__address{
  font-size: .92rem;
  line-height: 1.6;
  color: var(--sy-muted);
  margin: 0;
}
.sy-directory__address--placeholder{ font-style: italic; }

.sy-directory__action{
  justify-self: end;
  text-align: right;
  padding-top: .15rem;
}
.sy-directory__link{
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-weight: 700;
  font-size: .92rem;
  color: var(--sy-navy);
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, gap .2s ease;
}
.sy-directory__link i{ color: var(--sy-gold-dark); }
.sy-directory__link:hover{ color: var(--sy-gold-dark); gap: .75rem; }

@media (max-width: 767px){
  .sy-directory__row{
    grid-template-columns: 40px 1fr;
    grid-template-areas:
      "badge body"
      "action action";
    row-gap: .9rem;
    padding: 1.9rem 0;
  }
  .sy-directory__badge{ grid-area: badge; font-size: 1.3rem; }
  .sy-directory__body{ grid-area: body; }
  .sy-directory__action{ grid-area: action; justify-self: start; text-align: left; padding-left: 40px; }
}

/* --------------------------------------------------------------------
   INQUIRY BAR — no wrapping box, no badge-in-a-box. Four items sit
   directly on the grey section background, separated only by a thin
   vertical rule; the icon just sits in the accent colour with an
   underline-style bottom rule that draws in on hover. Reads as an
   inline contact strip rather than four little cards.
   -------------------------------------------------------------------- */
.sy-inquiry-bar{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.sy-inquiry-bar__item{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .55rem;
  padding: 0 1.8rem;
  text-decoration: none;
  border-left: 1px solid var(--sy-line);
}
.sy-inquiry-bar__item:first-child{ border-left: none; padding-left: 0; }

.sy-inquiry-bar__item--blue{ --sy-accent-color: #1B6FC9; }
.sy-inquiry-bar__item--gold{ --sy-accent-color: var(--sy-gold-dark); }
.sy-inquiry-bar__item--teal{ --sy-accent-color: #0e9488; }
.sy-inquiry-bar__item--green{ --sy-accent-color: #2e8b57; }

.sy-inquiry-bar__badge{
  color: var(--sy-accent-color, var(--sy-navy));
  font-size: 1.3rem;
  line-height: 1;
}
.sy-inquiry-bar__item h4{
  font-size: .98rem;
  font-weight: 700;
  color: var(--sy-ink);
  margin: .3rem 0 0;
  padding-bottom: .35rem;
  border-bottom: 2px solid transparent;
  transition: border-color .2s ease;
}
.sy-inquiry-bar__item:hover h4{ border-color: var(--sy-accent-color, var(--sy-gold)); }
.sy-inquiry-bar__email{
  font-size: .85rem;
  color: var(--sy-muted);
  word-break: break-all;
  transition: color .2s ease;
}
.sy-inquiry-bar__item:hover .sy-inquiry-bar__email{ color: var(--sy-accent-color, var(--sy-navy)); }
.sy-inquiry-bar__arrow{ display: none; }

@media (max-width: 767px){
  .sy-inquiry-bar{ grid-template-columns: repeat(2, 1fr); row-gap: 1.8rem; }
  .sy-inquiry-bar__item:nth-child(odd){ border-left: none; padding-left: 0; }
  .sy-inquiry-bar__item:nth-child(even){ padding-left: 1.8rem; }
}
@media (max-width: 480px){
  .sy-inquiry-bar{ grid-template-columns: 1fr; row-gap: 1.6rem; }
  .sy-inquiry-bar__item{ border-left: none; padding-left: 0; }
}

/* --------------------------------------------------------------------
   Google Map block
   -------------------------------------------------------------------- */
.sy-map-block{
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 0;
  border-radius: var(--sy-radius);
  overflow: hidden;
  border: 1px solid var(--sy-line);
  box-shadow: 0 20px 48px rgba(11,46,79,.10);
}
.sy-map-wrap{ line-height: 0; background: #e9edf1; }
.sy-map-wrap iframe{ display: block; width: 100%; height: 100%; min-height: 380px; filter: grayscale(.15) contrast(1.02); }

.sy-map-card{
  background: var(--sy-navy);
  color: #fff;
  padding: 2.3rem 2rem;
  display: flex;
  flex-direction: column;
}
.sy-map-card__tag{
  display: inline-block;
  align-self: flex-start;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--sy-navy-dark);
  background: var(--sy-gold);
  padding: .3rem .75rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.sy-map-card h4{ font-size: 1.15rem; font-weight: 700; margin-bottom: .8rem; }
.sy-map-card p{ font-size: .93rem; line-height: 1.65; color: rgba(255,255,255,.78); margin-bottom: 1.3rem; }
.sy-map-card__list{
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  border-top: 1px solid rgba(255,255,255,.14);
  padding-top: 1.3rem;
}
.sy-map-card__list li{
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .88rem;
  color: rgba(255,255,255,.92);
}
.sy-map-card__list i{ color: var(--sy-gold); width: 16px; }
.sy-map-card__directions{
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  align-self: flex-start;
  color: #fff;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  padding: .65rem 1.3rem;
  transition: background .2s ease, border-color .2s ease;
}
.sy-map-card__directions:hover{
  background: var(--sy-gold);
  border-color: var(--sy-gold);
  color: var(--sy-navy-dark);
}

@media (max-width: 900px){
  .sy-map-block{ grid-template-columns: 1fr; }
  .sy-map-wrap iframe{ min-height: 320px; }
}

/* --------------------------------------------------------------------
   Enquiry Panel (two-tone: navy info aside + white form)
   -------------------------------------------------------------------- */
.sy-enquiry-panel{
  display: grid;
  grid-template-columns: .95fr 1.35fr;
  border-radius: var(--sy-radius);
  overflow: hidden;
  border: 1px solid var(--sy-line);
  box-shadow: 0 26px 60px rgba(11,46,79,.14);
}
.sy-enquiry-panel__aside{
  position: relative;
  background: linear-gradient(160deg, var(--sy-navy) 0%, var(--sy-navy-dark) 100%);
  color: #fff;
  padding: 3rem 2.4rem;
  overflow: hidden;
}
.sy-enquiry-panel__aside .sy-dot-grid{
  background-image: radial-gradient(rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 18px 18px;
  opacity: .5;
  -webkit-mask-image: linear-gradient(200deg, rgba(0,0,0,.9) 0%, transparent 65%);
          mask-image: linear-gradient(200deg, rgba(0,0,0,.9) 0%, transparent 65%);
}
.sy-enquiry-panel__aside > *{ position: relative; z-index: 1; }
.sy-h2--light{ color: #fff; }
.sy-body--light{ color: #fff; }
.sy-eyebrow--light{ color: var(--sy-gold); }

.sy-enquiry-points{
  list-style: none;
  padding: 0;
  margin: 1.7rem 0 0;
  display: flex;
  flex-direction: column;
  gap: .8rem;
}
.sy-enquiry-points li{
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
  color: rgba(255,255,255,.92);
}
.sy-enquiry-points i{
  color: var(--sy-navy-dark);
  background: var(--sy-gold);
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
}

.sy-enquiry-panel__contact{
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,.16);
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.sy-enquiry-panel__contact a{
  color: #fff;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.sy-enquiry-panel__contact a i{ color: var(--sy-gold); width: 16px; }
.sy-enquiry-panel__contact a:hover{ color: var(--sy-gold); }

.sy-enquiry-panel__form{
  background: #fff;
  padding: 3rem 2.6rem;
}

@media (max-width: 900px){
  .sy-enquiry-panel{ grid-template-columns: 1fr; }
  .sy-enquiry-panel__form{ padding: 2.2rem 1.6rem; }
  .sy-enquiry-panel__aside{ padding: 2.4rem 1.8rem; }
}

/* --------------------------------------------------------------------
   Form fields
   -------------------------------------------------------------------- */
.sy-form__label{
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--sy-ink);
  margin-bottom: .4rem;
}
.sy-form__label span{ color: #c0392b; }
.sy-form__input{
  width: 100%;
  border: 1px solid var(--sy-line);
  border-radius: 9px;
  padding: .75rem .95rem;
  font-size: .95rem;
  color: var(--sy-ink);
  background: #fbfbfc;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.sy-form__input:focus{
  outline: none;
  border-color: var(--sy-navy);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11,46,79,.12);
}
.sy-form__select{ appearance: auto; }
.sy-form__textarea{ resize: vertical; min-height: 130px; }

.sy-form__submit{
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  border: none;
  cursor: pointer;
}

.sy-form__status{
  font-size: .9rem;
  font-weight: 600;
  min-height: 1.2em;
}
.sy-form__status.is-success{ color: #1e8e5a; }
.sy-form__status.is-error{ color: #c0392b; }
.sy-form__status.is-loading{ color: var(--sy-muted); }

.sy-btn.sy-btn--primary{
  background: var(--sy-navy);
  color: #fff;
  padding: .85rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(11,46,79,.28);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sy-btn.sy-btn--primary:hover{
  background: var(--sy-gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(169,123,35,.35);
}