/* ══════════════════════════════════════════════
   SLADP — contact.css  (Contact page, AgriLife theme)
   Design tokens (--al-*) live in sladp.css
══════════════════════════════════════════════ */

.ct-page {
  font-family: 'Inter', var(--al-sans);
  color: var(--al-ink);
  background: var(--al-bg);
  overflow-x: hidden;
}
.ct-container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ── Shared bits ── */
.ct-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--al-green); background: var(--al-green-pale);
  border: 1px solid rgba(46,125,50,.18);
  padding: 7px 16px; border-radius: 30px; margin-bottom: 16px;
}
.ct-eyebrow svg { width: 15px; height: 15px; }
.ct-eyebrow--light {
  color: var(--al-teal-dark);
  background: rgba(15,139,141,.10);
  border-color: rgba(15,139,141,.22);
}
.ct-h2 {
  font-family: 'Playfair Display', var(--al-serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800;
  color: var(--al-ink); line-height: 1.16; margin: 0; letter-spacing: -.01em;
}
.ct-h2 .ct-accent { color: var(--al-green); }

/* ══════════════ HERO ══════════════ */
.ct-hero {
  position: relative;
  padding: 96px 0 150px;
  color: var(--al-ink);
  background-color: #eefaf8;
  background-image: url('../images/hero_section.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.ct-hero::after {
  display: none;
}

/* decorative concentric green arcs on the right (home-hero echo) */
.ct-hero__arcs {
  position: absolute; top: 50%; right: -260px; transform: translateY(-50%);
  width: 560px; height: 560px; border-radius: 50%;
  border: 2px solid rgba(143,195,74,.22);
  z-index: 1; pointer-events: none;
}
.ct-hero__arcs::before,
.ct-hero__arcs::after {
  content: ""; position: absolute; border-radius: 50%;
  border: 2px solid rgba(143,195,74,.16);
}
.ct-hero__arcs::before { inset: 60px; border-color: rgba(248,197,45,.22); }
.ct-hero__arcs::after  { inset: 130px; border-color: rgba(143,195,74,.14); }
.ct-hero__glow {
  position: absolute; top: -120px; right: 6%;
  width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, rgba(151,209,44,.20), transparent 68%);
  filter: blur(10px); z-index: 1; pointer-events: none;
}

.ct-hero__grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.3fr .85fr; gap: 52px; align-items: center;
}
.ct-hero h1 {
  font-family: 'Playfair Display', var(--al-serif);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem); font-weight: 800; line-height: 1.08;
  margin: 0 0 18px; color: var(--al-ink); letter-spacing: -.015em;
}
.ct-hero h1 em { font-style: italic; color: var(--al-teal); }
.ct-hero__lead {
  font-size: 1.06rem; line-height: 1.75; color: #4a5c57; max-width: 580px; margin: 0 0 28px;
}

/* hero contact chips */
.ct-hero__chips { display: flex; flex-wrap: wrap; gap: 14px; }
.ct-chip {
  display: inline-flex; align-items: center; gap: 13px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px; padding: 12px 18px 12px 13px;
  backdrop-filter: blur(8px);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}
.ct-chip:hover { transform: translateY(-3px); border-color: rgba(248,197,45,.4); background: rgba(255,255,255,.09); }
.ct-chip__ico {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(248,197,45,.12); border: 1px solid rgba(248,197,45,.35); color: #f8c52d;
}
.ct-chip__ico svg { width: 19px; height: 19px; }
.ct-chip__txt { display: flex; flex-direction: column; line-height: 1.3; }
.ct-chip__txt small { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.ct-chip__txt strong { font-size: .9rem; color: #fff; font-weight: 700; }

/* glass quick-contact card */
.ct-glass {
  position: relative;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 22px; padding: 26px 26px 22px;
  backdrop-filter: blur(12px);
  box-shadow: 0 28px 60px -30px rgba(0,0,0,.6);
}
.ct-glass__label {
  font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--al-green-light); font-weight: 700; margin-bottom: 16px; display: block;
}
.ct-glass__row {
  display: flex; align-items: center; gap: 13px;
  padding: 13px 0; border-top: 1px solid rgba(255,255,255,.10);
}
.ct-glass__row:first-of-type { border-top: 0; padding-top: 2px; }
.ct-glass__ico {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 11px;
  display: grid; place-items: center;
  background: rgba(143,195,74,.14); border: 1px solid rgba(143,195,74,.28); color: var(--al-green-light);
}
.ct-glass__ico svg { width: 18px; height: 18px; }
.ct-glass__row div { display: flex; flex-direction: column; line-height: 1.35; }
.ct-glass__row strong { font-size: .9rem; color: #fff; font-weight: 700; }
.ct-glass__row small { font-size: .8rem; color: rgba(255,255,255,.62); }
.ct-glass__cta {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  width: 100%; justify-content: center;
  background: #b7e83d; color: #12210e;
  font-size: .85rem; font-weight: 800; padding: 12px 18px; border-radius: 40px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.ct-glass__cta:hover { transform: translateY(-2px); background: #c9f050; box-shadow: 0 12px 26px rgba(183,232,61,.4); }

/* ══════════════ SECTIONS ══════════════ */
.ct-section { padding: 64px 0; }
.ct-section--alt { background: #fff; border-top: 1px solid var(--al-border); border-bottom: 1px solid var(--al-border); }
.ct-section--pulltop { margin-top: -84px; position: relative; z-index: 3; padding-top: 0; }
.ct-section--note { padding: 8px 0 64px; }

.ct-head { max-width: 720px; margin: 0 0 34px; }
.ct-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.ct-head .ct-h2 { margin-bottom: 12px; }
.ct-head p { color: var(--al-slate); font-size: 1rem; line-height: 1.7; margin: 0; }

/* ══════════════ OFFICE DIRECTORY ══════════════ */
.ct-dir__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 900px; }
.ct-dir-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--al-border);
  border-radius: 20px;
  padding: 28px 26px;
  display: flex; flex-direction: column;
  overflow: hidden;
  box-shadow: 0 14px 40px -30px rgba(15,42,27,.4);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.ct-dir-card::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--al-green), var(--al-green-light));
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.ct-dir-card:hover { transform: translateY(-7px); box-shadow: 0 26px 56px -24px rgba(15,42,27,.32); border-color: transparent; }
.ct-dir-card:hover::before { transform: scaleX(1); }
.ct-dir-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.ct-dir-card__ico {
  display: grid; place-items: center;
  width: 50px; height: 50px; flex-shrink: 0; border-radius: 14px;
  color: #fff; background: linear-gradient(135deg, var(--al-green), var(--al-green-mid));
  box-shadow: 0 12px 24px -12px rgba(46,125,50,.6);
}
.ct-dir-card__ico svg { width: 24px; height: 24px; }
.ct-dir-card__badge {
  font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--al-green); background: var(--al-green-pale); padding: 6px 12px; border-radius: 16px;
}
.ct-dir-card h3 {
  font-family: 'Playfair Display', var(--al-serif);
  font-size: 1.14rem; font-weight: 700; color: var(--al-ink); margin: 0 0 4px; line-height: 1.25;
}
.ct-dir-card .ct-role { font-size: .82rem; font-weight: 600; color: var(--al-green); margin: 0 0 12px; }
.ct-dir-card .ct-addr { font-size: .9rem; color: var(--al-slate); line-height: 1.6; margin: 0 0 18px; }
.ct-dir-card .ct-note-sm { font-size: .87rem; color: var(--al-slate); line-height: 1.62; margin: 0 0 16px; }
.ct-dir-card__links { margin-top: auto; display: flex; flex-direction: column; gap: 11px; }
.ct-dir-card__links a {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .89rem; font-weight: 600; color: var(--al-ink);
  transition: color .2s ease, gap .2s ease; word-break: break-word;
}
.ct-dir-card__links a svg { width: 16px; height: 16px; color: var(--al-green); flex-shrink: 0; }
.ct-dir-card__links a:hover { color: var(--al-green); gap: 12px; }
.ct-dir-card__links .ct-link-arrow { color: var(--al-green); font-weight: 700; }

/* ══════════════ SPLIT: info panel + form ══════════════ */
.ct-split {
  display: grid; grid-template-columns: .92fr 1.08fr;
  border-radius: 26px; overflow: hidden;
  box-shadow: 0 30px 70px -40px rgba(15,42,27,.55);
  border: 1px solid var(--al-border);
  margin-bottom: 28px;
}

/* left dark info panel */
.ct-split__info {
  position: relative; overflow: hidden;
  padding: 42px 38px;
  color: #fff;
  background:
    radial-gradient(circle at 88% 6%, rgba(151,209,44,.18), transparent 40%),
    linear-gradient(150deg, #0b2419 0%, #08180f 60%, #061410 100%);
  background-color: #08180f;
}
.ct-split__arc {
  position: absolute; right: -120px; bottom: -120px;
  width: 320px; height: 320px; border-radius: 50%;
  border: 2px solid rgba(143,195,74,.20);
  box-shadow: inset 0 0 0 22px rgba(248,197,45,.06);
  pointer-events: none;
}
.ct-split__info h3 {
  font-family: 'Playfair Display', var(--al-serif);
  font-size: 1.55rem; font-weight: 800; color: #fff; margin: 0 0 12px; position: relative; z-index: 1;
}
.ct-split__info > p {
  font-size: .94rem; line-height: 1.72; color: rgba(255,255,255,.78); margin: 0 0 26px; position: relative; z-index: 1;
}
.ct-info-list { list-style: none; margin: 0 0 26px; padding: 0; display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; }
.ct-info-list li { display: flex; align-items: flex-start; gap: 14px; }
.ct-info-ico {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(248,197,45,.12); border: 1px solid rgba(248,197,45,.32); color: #f8c52d;
}
.ct-info-ico svg { width: 18px; height: 18px; }
.ct-info-list div { display: flex; flex-direction: column; line-height: 1.4; }
.ct-info-list strong { font-size: .82rem; color: #fff; font-weight: 700; }
.ct-info-list span { font-size: .86rem; color: rgba(255,255,255,.7); }
.ct-info-hours {
  position: relative; z-index: 1;
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px;
}
.ct-info-hours .ct-hour-row {
  display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: .85rem;
}
.ct-info-hours .ct-hour-row span:first-child { color: rgba(255,255,255,.62); }
.ct-info-hours .ct-hour-row span:last-child { color: #fff; font-weight: 600; text-align: right; }

/* right form */
.ct-split__form { background: #fff; padding: 42px 40px; }
.ct-ctitle {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700;
  color: var(--al-green); margin-bottom: 8px;
}
.ct-ctitle svg { width: 14px; height: 14px; }
.ct-split__form h3 {
  font-family: 'Playfair Display', var(--al-serif);
  font-size: 1.5rem; font-weight: 800; color: var(--al-ink); margin: 0 0 22px;
}
.ct-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-form__grid .ct-full { grid-column: 1 / -1; }
.ct-field { display: flex; flex-direction: column; gap: 7px; }
.ct-field label { font-size: .8rem; font-weight: 600; color: var(--al-ink); }
.ct-req { color: #c43c3c; }
.ct-field input,
.ct-field select,
.ct-field textarea {
  font-family: 'Inter', sans-serif; font-size: .92rem; color: var(--al-ink);
  background: #fbfaf6;
  border: 1.5px solid var(--al-border);
  border-radius: 12px; padding: 12px 14px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
  width: 100%;
}
.ct-field textarea { min-height: 130px; resize: vertical; }
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none; background: #fff;
  border-color: var(--al-green);
  box-shadow: 0 0 0 4px rgba(46,125,50,.12);
}
.ct-btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: 'Inter', sans-serif; font-size: .92rem; font-weight: 700;
  background: linear-gradient(135deg, var(--al-green), var(--al-green-mid));
  color: #fff; border: 0; border-radius: 50px;
  padding: 14px 32px; cursor: pointer;
  box-shadow: 0 14px 30px -12px rgba(46,125,50,.6);
  transition: transform .2s ease, box-shadow .2s ease;
}
.ct-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(46,125,50,.7); }
.ct-btn svg { width: 16px; height: 16px; }
.ct-form__foot { margin: 16px 0 0; font-size: .8rem; color: var(--al-slate); line-height: 1.6; }

/* ══════════════ MAP ══════════════ */
.ct-card {
  background: #fff; border: 1px solid var(--al-border); border-radius: 22px; overflow: hidden;
  box-shadow: 0 18px 44px -32px rgba(15,42,27,.4);
}
.ct-map__wrap { position: relative; height: 320px; }
.ct-map__wrap iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.12); }
.ct-map__cap {
  padding: 16px 24px; font-size: .9rem; color: var(--al-slate);
  border-top: 1px solid var(--al-border); background: #fcfbf7;
}
.ct-map__cap strong { color: var(--al-green-dark); }

/* ══════════════ NOTE ══════════════ */
.ct-note {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--al-green-pale);
  border: 1px solid rgba(46,125,50,.18); border-left: 4px solid var(--al-green);
  border-radius: 16px; padding: 22px 26px; max-width: 940px; margin: 0 auto;
}
.ct-note__ico {
  flex-shrink: 0; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 11px; background: var(--al-green); color: #fff;
}
.ct-note__ico svg { width: 21px; height: 21px; }
.ct-note p { margin: 0; color: #3f423e; font-size: .92rem; line-height: 1.7; }
.ct-note strong { color: var(--al-green-dark); }

/* ══════════════ SCROLL REVEAL ══════════════ */
.ct-reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.22,.61,.36,1), transform .7s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
}
.ct-reveal.is-in { opacity: 1; transform: none; }

/* ══════════════ RESPONSIVE ══════════════ */
/* Tablet — keep the directory in two columns for better use of space */
@media (max-width: 991px) {
  .ct-hero { padding: 72px 0 124px; }
  .ct-hero__grid { grid-template-columns: 1fr; gap: 32px; align-items: start; }
  .ct-hero__arcs, .ct-hero__glow { opacity: .5; }
  .ct-dir__grid { grid-template-columns: repeat(2, 1fr); }
  .ct-split { grid-template-columns: 1fr; }
  .ct-section--pulltop { margin-top: -68px; }
}
/* Phone — single column */
@media (max-width: 680px) {
  .ct-dir__grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .ct-container { padding: 0 16px; }
  .ct-section { padding: 48px 0; }
  .ct-hero { padding: 56px 0 104px; }
  .ct-form__grid { grid-template-columns: 1fr; }
  .ct-split__info, .ct-split__form { padding: 28px 22px; }
  .ct-hero__chips { flex-direction: column; align-items: stretch; }
  .ct-map__wrap { height: 260px; }
}

@media (prefers-reduced-motion: reduce) {
  .ct-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ct-chip:hover, .ct-dir-card:hover, .ct-btn:hover, .ct-glass__cta:hover { transform: none; }
}

/* Form feedback */
.ct-form-alert {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: .9rem;
  line-height: 1.55;
}
.ct-form-alert--success {
  color: #1f4d3b;
  background: linear-gradient(135deg, #eaf8f3 0%, #f7fbf9 100%);
  border: 1px solid rgba(15, 139, 141, .22);
}
.ct-form-alert--error {
  color: #6b2d2d;
  background: #fff5f5;
  border: 1px solid rgba(198, 74, 74, .25);
}
.ct-form-alert ul {
  margin: 8px 0 0;
  padding-left: 18px;
}

.ct-recaptcha {
  min-height: 78px;
}
