/*
 * contact.css — Contact page specific: breadcrumb, form, map section
 * Used only by contact-us.html
 * Dr Samir Contractor Website
 */

 /* ─── buttons ─── */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.6rem; border-radius: 999px;
  font-size: .95rem; font-weight: 600; font-family: var(--body);
  border: 0; cursor: pointer; text-decoration: none;
  transition: all .22s ease;
}
.btn-primary { background: var(--brand-green); color: #fff; box-shadow: 0 4px 14px rgba(28,177,113,.3); }
.btn-primary:hover { background: var(--brand-green-deep); transform: translateY(-2px); }
.btn-secondary { background: var(--brand-blue); color: #fff; }
.btn-secondary:hover { background: var(--brand-blue-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid #CBD2D9; }
.btn-ghost:hover { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }

/* BREADCRUMB */
.breadcrumb { padding: .85rem 0; border-bottom: 1px solid var(--rule); background: var(--bg-soft); }
.breadcrumb nav { display: flex; align-items: center; gap: .4rem; flex-wrap: wrap; }
.breadcrumb a { font-size: .82rem; color: var(--brand-blue); }
.breadcrumb .sep { font-size: .82rem; color: var(--muted); }
.breadcrumb .current { font-size: .82rem; color: var(--ink-3); font-weight: 500; }

/* PAGE HERO */
.contact-hero { background: var(--brand-blue); padding: clamp(2.5rem, 5vw, 4rem) 0; }
.contact-hero h1 { color: #fff; margin-bottom: .85rem; }
.contact-hero h1 em { color: var(--brand-green); }
.contact-hero p { color: rgba(255,255,255,.82); font-size: 1.05rem; max-width: 52ch; margin-bottom: 1.5rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-badge { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.92); font-size: .78rem; font-weight: 600; padding: .3rem .85rem; border-radius: 999px; }
.hero-badge.green { background: rgba(28,177,113,.25); border-color: rgba(28,177,113,.45); }

/* MAIN CONTACT GRID */
.contact-section { padding: clamp(3rem, 6vw, 5rem) 0; }
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

/* CONTACT INFO BLOCKS */
.contact-blocks { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 2rem; }
.contact-block {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.25rem 1.4rem;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: flex-start;
  transition: border-color .2s, box-shadow .2s;
}
.contact-block:hover { border-color: var(--brand-blue-soft); box-shadow: 0 4px 16px rgba(6,114,186,.08); }
.contact-block.primary { border-left: 4px solid var(--brand-green); }
.contact-block.secondary { border-left: 4px solid var(--brand-blue); }
.cb-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cb-icon.green { background: #C8EBDA; color: var(--brand-green-deep); }
.cb-icon.blue { background: var(--brand-blue-soft); color: var(--brand-blue); }
.cb-icon.slate { background: #F2F8FC; color: var(--ink-3); }
.cb-icon svg { width: 20px; height: 20px; stroke-width: 1.75; }
.cb-body {}
.cb-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; color: var(--muted); margin-bottom: .3rem; }
.cb-value { font-family: var(--body); font-size: 1.08rem; font-weight: 700; color: var(--ink); line-height: 1.35; margin-bottom: .2rem; }
.cb-value a { color: var(--ink); transition: color .18s; }
.cb-value a:hover { color: var(--brand-blue); }
.cb-sub { font-size: .82rem; color: var(--ink-3); line-height: 1.5; }
.cb-cta { margin-top: .65rem; }

/* OPD HOURS TABLE */
.hours-card {
  background: var(--bg-soft);
  border: 1px solid var(--rule);
  border-radius: 10px;
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.1rem;
}
.hours-card h4 { margin-bottom: 1rem; display: flex; align-items: center; gap: .5rem; font-size: .92rem; color: var(--ink); }
.hours-card h4 svg { width: 16px; height: 16px; color: var(--brand-blue); }
.hours-row { display: flex; justify-content: space-between; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--rule); font-size: .9rem; }
.hours-row:last-child { border-bottom: 0; }
.hours-day { color: var(--ink-3); font-weight: 500; }
.hours-time { font-weight: 700; color: var(--ink); }
.hours-closed { font-weight: 600; color: #E53E3E; }
.hours-note { font-size: .78rem; color: var(--muted); margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--rule); }

/* FORM */
.contact-form-wrap {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 12px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 20px 50px -20px rgba(6,114,186,.14);
  position: sticky;
  top: 90px;
}
.form-header { margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--rule); }
.form-header h2 { font-size: 1.55rem; margin-bottom: .35rem; }
.form-header p { font-size: .9rem; color: var(--ink-3); }
.form-field { margin-bottom: 1rem; }
.form-field label { display: block; font-size: .75rem; font-weight: 700; color: var(--ink-2); margin-bottom: .35rem; letter-spacing: .02em; text-transform: uppercase; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: .85rem 1rem;
  border: 1px solid var(--rule-strong); background: var(--bg-soft);
  border-radius: 8px; font-family: var(--body); font-size: .95rem; color: var(--ink);
  transition: border-color .18s, background .18s, box-shadow .18s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 0; border-color: var(--brand-blue);
  background: #fff; box-shadow: 0 0 0 3px rgba(6,114,186,.1);
}
.form-field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235a7385' stroke-width='2'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-submit { margin-top: 1.25rem; }
.btn-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem 1.5rem; }
.form-disclaimer { text-align: center; font-size: .76rem; color: var(--muted); margin-top: .85rem; line-height: 1.5; }

/* WHATSAPP QUICK LINKS */
.wa-quick {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  background: #F0FBF6;
  border: 1px solid #C8EBDA;
  border-radius: 8px;
}
.wa-quick-label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; color: var(--brand-green-deep); margin-bottom: .65rem; }
.wa-links { display: flex; flex-direction: column; gap: .45rem; }
.wa-link {
  display: flex; align-items: center; gap: .65rem;
  font-size: .86rem; font-weight: 500; color: var(--ink-2);
  padding: .55rem .75rem; border-radius: 6px;
  background: #fff; border: 1px solid #C8EBDA;
  transition: all .18s; text-decoration: none;
}
.wa-link:hover { background: var(--brand-green); color: #fff; border-color: var(--brand-green); }
.wa-link svg { width: 16px; height: 16px; fill: var(--brand-green); flex-shrink: 0; transition: fill .18s; }
.wa-link:hover svg { fill: #fff; }

/* MAP SECTION */
.map-section { padding: clamp(3rem, 5vw, 4.5rem) 0; background: var(--bg-soft); }
.map-section .section-head { margin-bottom: 1.75rem; }
.map-section .section-head h2 { margin-bottom: .6rem; }
.map-section .section-head p { font-size: .95rem; }
.map-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.map-frame {
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 12px 32px -10px rgba(6,114,186,.15);
  border: 1px solid var(--rule);
  aspect-ratio: 16/10;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Directions block */
.directions-block { display: flex; flex-direction: column; gap: .85rem; }
.direction-item {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: .85rem;
  align-items: flex-start;
}
.di-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--brand-blue-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-blue); flex-shrink: 0;
}
.di-icon svg { width: 17px; height: 17px; stroke-width: 1.75; }
.di-title { font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: .2rem; text-transform: uppercase; letter-spacing: .06em; }
.di-body { font-size: .88rem; color: var(--ink-3); line-height: 1.5; }

/* TRUST STRIP */
.trust-strip { background: var(--brand-blue); padding: 1.75rem 0; }
.trust-inner { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 1rem; }
.trust-stat { text-align: center; color: #fff; }
.trust-stat .ts-num { font-family: var(--display); font-size: 1.7rem; font-weight: 700; color: var(--brand-green); line-height: 1; }
.trust-stat .ts-label { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: rgba(255,255,255,.75); margin-top: .25rem; font-weight: 600; }
.trust-divider { width: 1px; height: 40px; background: rgba(255,255,255,.18); }


/* STICKY WA */
.sticky-wa { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 99; background: var(--brand-green); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(28,177,113,.45); text-decoration: none; animation: pulse 2.2s infinite; }
.sticky-wa:hover { background: var(--brand-green-deep); transform: scale(1.06); }
.sticky-wa svg { width: 30px; height: 30px; fill: #fff; }
@keyframes pulse { 0%,100%{ box-shadow:0 8px 24px rgba(28,177,113,.45),0 0 0 0 rgba(28,177,113,.55); } 50%{ box-shadow:0 8px 24px rgba(28,177,113,.45),0 0 0 14px rgba(28,177,113,0); } }

/* RESPONSIVE */
@media(max-width:1024px){
  .contact-main-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { position: static; }
  .map-grid { grid-template-columns: 1fr; }
  .map-frame { aspect-ratio: 16/9; }
}
@media(max-width:860px){
  .form-row { grid-template-columns: 1fr; }
  .trust-divider { display: none; }
  .util-left { gap: 1rem; }
}
@media(max-width:560px){
  .hero-badges { flex-direction: column; align-items: flex-start; }
}
@media(prefers-reduced-motion:reduce){ *, *::before, *::after { animation-duration:.01ms!important; transition-duration:.01ms!important; } }
