/* Gulf Optic — mirrors gulfoptic.com (Porto theme): Poppins, charcoal #222529, primary #1e73be, clean white. */
:root {
  --dark: #222529;
  --body: #777777;
  --muted: #839199;
  --primary: #1e73be;
  --primary-light: #2ba5e0;
  --line: #e7e7e7;
  --soft: #f4f4f4;
  --danger: #e60122;
  --white: #ffffff;
  --radius: 2px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: Poppins, system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: .2px;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.topbar {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--soft); color: var(--dark);
  font-size: 12px; padding: 10px 16px; text-align: center;
}
.topbar svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--dark); stroke-width: 1.6; }
.topbar strong { color: var(--danger); font-weight: 600; }

.header { display: flex; justify-content: center; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.logo img { width: 110px; height: auto; }

main { max-width: 1080px; margin: 0 auto; padding: 0 16px; }

.eyebrow {
  margin: 0 0 10px; color: var(--primary);
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
}
.section-title {
  margin: 0 0 20px; color: var(--dark);
  font-size: 20px; font-weight: 600; letter-spacing: -.3px;
}

.hero { text-align: center; padding: 40px 0 28px; max-width: 620px; margin: 0 auto; }
.hero h1 {
  margin: 0 0 14px; color: var(--dark);
  font-size: clamp(30px, 7vw, 46px); line-height: 1.12; font-weight: 300; letter-spacing: -1px;
}
.hero h1 span { font-weight: 600; }
.lede { margin: 0 auto; max-width: 520px; font-size: 15px; }
.assisted {
  display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 0;
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 20px;
  color: var(--dark); font-size: 13px;
}
.assisted::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #1f9d55; }

.card { border: 1px solid var(--line); background: var(--white); padding: 28px 22px; }
.form-card { max-width: 520px; margin: 0 auto; box-shadow: 0 10px 40px -20px rgba(34, 37, 41, .25); }

.field { display: block; margin-bottom: 16px; }
.field span {
  display: block; margin-bottom: 6px; color: var(--dark);
  font-size: 12px; font-weight: 500; letter-spacing: .6px; text-transform: uppercase;
}
.field input, .field textarea, .field select {
  width: 100%; height: 50px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; font-size: 16px; color: var(--dark); background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { height: auto; min-height: 96px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field span em { font-style: normal; text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.field input::placeholder, .field textarea::placeholder { color: #b5b9bd; }
.field select { appearance: none; padding-right: 40px; background: var(--white) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23222529' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 16px center; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(30, 115, 190, .12); }
.field input[aria-invalid="true"] { border-color: var(--danger); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px; border: 1px solid var(--dark); border-radius: var(--radius);
  font: inherit; font-size: 13px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-dark { background: var(--dark); color: var(--white); width: 100%; }
.btn-dark:hover, .btn-dark:focus-visible { background: var(--primary); border-color: var(--primary); }
.btn-dark[disabled] { opacity: .6; cursor: wait; }
.btn-outline { background: var(--white); color: var(--dark); width: 100%; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

.form-error { margin: 0 0 14px; padding: 10px 12px; background: #fdecee; color: var(--danger); font-size: 13px; }
.fine { margin: 14px 0 0; font-size: 11.5px; line-height: 1.6; color: var(--muted); text-align: center; }

.thanks { text-align: center; }
.thanks p { margin: 0 0 22px; }
.check { width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 50%; background: var(--primary); display: grid; place-items: center; }
.check svg { width: 30px; height: 30px; fill: none; stroke: var(--white); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.thanks-actions { display: grid; gap: 10px; }

.team { text-align: center; padding: 56px 0 8px; }
.staff-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); text-align: left; }
.staff-card {
  display: flex; flex-direction: column; gap: 14px;
  border: 1px solid var(--line); padding: 20px; background: var(--white);
  transition: box-shadow .2s, border-color .2s;
}
.staff-card.is-assisting { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.staff-card:hover { box-shadow: 0 10px 30px -18px rgba(34, 37, 41, .35); }
.staff-head { display: flex; align-items: center; gap: 14px; }
.avatar {
  width: 54px; height: 54px; flex: none; border-radius: 50%;
  display: grid; place-items: center; overflow: hidden;
  background: var(--soft); color: var(--dark); font-weight: 600; font-size: 17px; letter-spacing: .5px;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.staff-name { margin: 0; color: var(--dark); font-size: 16px; font-weight: 600; line-height: 1.3; }
.staff-role { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.staff-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.staff-actions a {
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--dark); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .8px; text-transform: uppercase;
  transition: border-color .15s, color .15s, background .15s;
}
.staff-actions a:hover { border-color: var(--primary); color: var(--primary); }
.staff-actions a.primary { background: var(--dark); border-color: var(--dark); color: var(--white); }
.staff-actions a.primary:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }
.staff-actions svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.staff-save { font-size: 12px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; align-self: flex-start; }
.staff-save:hover { color: var(--primary); }
.staff-skeleton { height: 150px; background: linear-gradient(90deg, var(--soft), #fafafa, var(--soft)); background-size: 200% 100%; animation: sk 1.2s infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.staff-empty { grid-column: 1 / -1; text-align: center; color: var(--muted); }

.stores { text-align: center; padding: 56px 0 0; }
.store-grid { display: grid; gap: 1px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); background: var(--line); border: 1px solid var(--line); text-align: left; }
.store-card { display: flex; flex-direction: column; gap: 10px; background: var(--white); padding: 18px 20px; }
.store-card.is-current { box-shadow: inset 3px 0 0 var(--primary); }
.store-name { margin: 0; color: var(--dark); font-size: 15px; font-weight: 600; }
.store-name small { margin-left: 8px; color: var(--primary); font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.store-addr { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; }
.staff-store { margin: 2px 0 0; font-size: 11.5px; color: var(--primary); }

.trust {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  margin: 56px 0; background: var(--line); border: 1px solid var(--line); text-align: center;
}
.trust div { background: var(--white); padding: 20px 10px; }
.trust strong { display: block; color: var(--dark); font-weight: 600; font-size: 14px; }
.trust span { font-size: 12px; color: var(--muted); }

.footer { background: var(--dark); color: #a8aeb3; text-align: center; padding: 40px 16px 28px; font-size: 13px; }
.footer-logo { margin: 0 auto 16px; filter: brightness(0) invert(1); width: 80px; height: auto; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-bottom: 18px; }
.footer-links a { color: var(--white); text-decoration: none; }
.footer-links a:hover { color: var(--primary-light); }
.social { display: flex; justify-content: center; gap: 12px; margin-bottom: 18px; }
.social a { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #3a3e44; border-radius: 50%; color: var(--white); }
.social a:hover { border-color: var(--primary-light); color: var(--primary-light); }
.social svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.social svg .dot { fill: currentColor; stroke: none; }
.copy { margin: 0; font-size: 11.5px; color: #6f757b; }

@media (min-width: 720px) {
  .hero { padding: 64px 0 36px; }
  .card { padding: 36px 40px; }
  .thanks-actions { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .trust { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
