/* ============================================================
   Tanzania Tech Media - Contact page (corporate redesign)
   Loads with service-detail.css (shared .ttm-btn/.ttm-eyebrow/.ttm-container).
   ============================================================ */
.ttm-contact{ --ttm-ink:#111013; --ttm-muted:#5b605b; --ttm-line:#e7e9e2; --ttm-soft:#f6f8ef; }
:root{ --ttm-accent: var(--tp-theme-primary, #13DB31); }

/* hero */
.ttm-contact-hero{ position:relative; overflow:hidden; background:var(--ttm-soft); padding:175px 0 80px; text-align:center; border-bottom:1px solid var(--ttm-line); }
.ttm-contact-hero .ttm-shape{ position:absolute; pointer-events:none; }
.ttm-contact-hero .ttm-shape-1{ top:80px; right:-40px; color:var(--ttm-accent); opacity:.16; }
.ttm-contact-hero .ttm-shape-2{ bottom:-40px; left:-30px; color:#111013; opacity:.05; }
.ttm-contact-hero .ttm-eyebrow{ justify-content:center; }
.ttm-contact-hero h1{ font-size:clamp(36px,5.5vw,58px); line-height:1.05; font-weight:700; color:var(--ttm-ink); margin:16px auto 18px; letter-spacing:-1px; max-width:840px; }
.ttm-contact-hero p{ font-size:19px; line-height:1.6; color:var(--ttm-muted); max-width:680px; margin:0 auto; }

/* main */
.ttm-contact-main{ background:#fff; padding:90px 0; }
.ttm-contact-grid{ display:grid; grid-template-columns:0.9fr 1.1fr; gap:50px; align-items:start; }

/* aside (info) */
.ttm-contact-aside h2{ font-size:clamp(26px,3.4vw,34px); font-weight:700; color:var(--ttm-ink); margin:14px 0 14px; letter-spacing:-.5px; }
.ttm-contact-aside .lead{ font-size:16px; line-height:1.7; color:var(--ttm-muted); margin:0 0 30px; }
.ttm-contact-methods{ display:flex; flex-direction:column; gap:14px; margin-bottom:30px; }
.ttm-contact-method{ display:flex; gap:16px; align-items:center; text-decoration:none; padding:18px 20px; border:1px solid var(--ttm-line); border-radius:16px; transition:.2s ease; background:#fff; }
.ttm-contact-method:hover{ border-color:var(--ttm-accent); box-shadow:0 18px 40px -28px rgba(17,16,19,.3); transform:translateY(-2px); }
.ttm-contact-method .ico{ width:50px; height:50px; border-radius:13px; background:var(--ttm-soft); display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
.ttm-contact-method .ico svg{ width:24px; height:24px; color:var(--ttm-accent); }
.ttm-contact-method .k{ display:block; font-size:12px; font-weight:700; letter-spacing:.5px; text-transform:uppercase; color:var(--ttm-muted); }
.ttm-contact-method .v{ display:block; font-size:16px; font-weight:600; color:var(--ttm-ink); margin-top:3px; word-break:break-word; }
.ttm-contact-note{ display:flex; gap:12px; align-items:center; background:var(--ttm-soft); border-radius:14px; padding:16px 18px; font-size:14.5px; color:#33372f; }
.ttm-contact-note svg{ width:22px; height:22px; color:var(--ttm-accent); flex:0 0 auto; }
.ttm-contact-socialwrap{ margin-top:26px; }
.ttm-contact-socialwrap .lbl{ font-size:12.5px; font-weight:700; letter-spacing:.6px; text-transform:uppercase; color:var(--ttm-muted); margin-bottom:14px; display:block; }
.ttm-contact-socialwrap a{ display:inline-flex; align-items:center; justify-content:center; width:44px; height:44px; border-radius:50%;
   border:1px solid var(--ttm-line); color:var(--ttm-ink); margin-right:10px; transition:.2s ease; }
.ttm-contact-socialwrap a:hover{ background:var(--ttm-accent); border-color:var(--ttm-accent); color:#0a1f0d; transform:translateY(-2px); }
.ttm-contact-socialwrap a i{ font-size:16px; line-height:1; }

/* "what happens next" steps (quote / media forms) */
.ttm-steps-lbl{ display:block; font-size:12.5px; font-weight:700; letter-spacing:.6px; text-transform:uppercase; color:var(--ttm-muted); margin-bottom:18px; }
.ttm-steps{ display:flex; flex-direction:column; margin-bottom:30px; counter-reset:ttmstep; }
.ttm-step{ position:relative; display:flex; gap:16px; align-items:flex-start; padding-bottom:24px; }
.ttm-step:last-child{ padding-bottom:0; }
.ttm-step::after{ content:""; position:absolute; left:21px; top:46px; bottom:0; width:2px; background:var(--ttm-line); }
.ttm-step:last-child::after{ display:none; }
.ttm-step-num{ counter-increment:ttmstep; flex:0 0 auto; width:44px; height:44px; border-radius:50%; background:var(--ttm-soft); color:var(--ttm-accent); display:flex; align-items:center; justify-content:center; font-weight:700; font-size:17px; border:1px solid var(--ttm-line); position:relative; z-index:1; }
.ttm-step-num::before{ content:counter(ttmstep); }
.ttm-step-body{ padding-top:7px; }
.ttm-step-body h4{ font-size:17px; font-weight:700; color:var(--ttm-ink); margin:0 0 6px; letter-spacing:-.2px; }
.ttm-step-body p{ font-size:14.5px; line-height:1.6; color:var(--ttm-muted); margin:0; }

/* form card */
.ttm-contact-formcard{ background:#fff; border:1px solid var(--ttm-line); border-radius:24px; padding:44px; box-shadow:0 40px 80px -50px rgba(17,16,19,.32); }
.ttm-contact-formcard h3{ font-size:24px; font-weight:700; color:var(--ttm-ink); margin:0 0 6px; }
.ttm-contact-formcard .sub{ font-size:15px; color:var(--ttm-muted); margin:0 0 28px; }
.ttm-field{ margin-bottom:18px; }
.ttm-field label{ display:block; font-size:13.5px; font-weight:600; color:var(--ttm-ink); margin-bottom:8px; }
/* font-size 16px min: stops iOS Safari auto-zooming the page when a field is focused */
.ttm-field input, .ttm-field textarea{ width:100%; border:1px solid var(--ttm-line); border-radius:12px; padding:14px 16px; font-size:16px; color:var(--ttm-ink); font-family:inherit; background:#fff; transition:.2s ease; }
.ttm-field input::placeholder, .ttm-field textarea::placeholder{ color:#a7aca0; }
.ttm-field input:focus, .ttm-field textarea:focus{ outline:none; border-color:var(--ttm-accent); box-shadow:0 0 0 4px color-mix(in srgb, var(--ttm-accent) 15%, transparent); }
.ttm-field textarea{ min-height:140px; resize:vertical; }
.ttm-field .error-text{ display:block; font-size:13px; color:#e23636; margin-top:6px; }
.ttm-row-2{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.ttm-contact-formcard button[type="submit"]{ width:100%; justify-content:center; border:0; cursor:pointer; margin-top:4px; }
.ttm-contact-formcard .ajax-message{ margin-top:16px; }

/* map */
.ttm-contact-map{ background:#fff; padding:0 0 90px; }
.ttm-contact-map .map-frame{ border-radius:24px; overflow:hidden; border:1px solid var(--ttm-line); line-height:0; }
.ttm-contact-map iframe{ width:100%; height:460px; border:0; display:block; }

@media (max-width:991px){
  .ttm-contact-grid{ grid-template-columns:1fr; gap:36px; }
  .ttm-contact-formcard{ padding:32px; }
}
@media (max-width:575px){
  .ttm-row-2{ grid-template-columns:1fr; }
  .ttm-contact-map iframe{ height:320px; }
}

/* ===== Contact hub chooser ===== */
.ttm-choose-wrap{ background:#fff; padding:70px 0 40px; }
.ttm-choose-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; }
.ttm-choose-card{ display:block; border:1px solid var(--ttm-line,#e7e9e2); border-radius:22px; padding:40px 36px; background:#fff; text-decoration:none; transition:.25s ease; }
.ttm-choose-card:hover{ transform:translateY(-6px); box-shadow:0 34px 70px -44px rgba(17,16,19,.34); border-color:transparent; }
.ttm-choose-ico{ width:60px; height:60px; border-radius:16px; background:var(--ttm-soft,#f6f8ef); display:flex; align-items:center; justify-content:center; margin-bottom:22px; }
.ttm-choose-ico svg{ width:30px; height:30px; color:var(--ttm-accent,#13DB31); }
.ttm-choose-card h3{ font-size:23px; font-weight:700; color:var(--ttm-ink,#111013); margin:0 0 12px; letter-spacing:-.4px; }
.ttm-choose-card p{ font-size:15.5px; line-height:1.65; color:var(--ttm-muted,#5b605b); margin:0 0 22px; }
.ttm-choose-link{ display:inline-flex; align-items:center; gap:8px; font-weight:600; font-size:15px; color:var(--ttm-ink,#111013); }
.ttm-choose-link svg{ width:16px; height:16px; color:var(--ttm-accent,#13DB31); transition:.2s ease; }
.ttm-choose-card:hover .ttm-choose-link svg{ transform:translateX(4px); }

.ttm-contact-strip{ display:flex; flex-wrap:wrap; gap:16px; justify-content:center; margin-top:42px; }
.ttm-contact-strip .ttm-contact-method{ flex:1 1 240px; max-width:340px; }

/* ===== select fields on the enquiry/quote forms ===== */
.ttm-field select{ width:100%; border:1px solid var(--ttm-line,#e7e9e2); border-radius:12px; padding:13px 16px; font-size:16px;
    color:var(--ttm-ink,#111013); background-color:#fff; appearance:none; -webkit-appearance:none; cursor:pointer;
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b605b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat:no-repeat; background-position:right 16px center; padding-right:42px; }
.ttm-field select:focus{ outline:none; border-color:var(--ttm-accent,#13DB31); }
.ttm-optional{ color:#9aa094; font-weight:400; font-size:12.5px; }

@media (max-width:767px){
   .ttm-choose-grid{ grid-template-columns:1fr; }
}
