/* =======================================================
   KeraVit Tiles LLC – Contact Page Stylesheet
   ======================================================= */

/* =====================================================
   PAGE HERO
   ===================================================== */
.ct-hero {
  position: relative;
  height: 60vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.ct-hero-bg { position: absolute; inset: 0; z-index: 0; }
.ct-hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ct-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,24,18,0.4) 0%, rgba(22,24,18,0.9) 100%);
}
.ct-hero-container {
  position: relative; z-index: 2;
  padding-bottom: 60px;
}
.ct-breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--fh); font-size: 0.75rem; font-weight: 500;
  color: rgba(255,255,255,0.5); margin-bottom: 18px;
}
.ct-breadcrumb a { color: rgba(255,255,255,0.5); transition: var(--tr); }
.ct-breadcrumb a:hover { color: var(--p); }
.ct-breadcrumb i { font-size: 0.85rem; }
.ct-breadcrumb span { color: var(--p); }
.ct-hero-title {
  font-family: var(--fh);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700; line-height: 1.1;
  letter-spacing: -0.03em; color: var(--wh);
  margin-bottom: 16px;
}
.ct-hero-sub {
  font-size: 1rem; line-height: 1.7;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
}

/* Initial state for GSAP */
.hero-el { opacity: 0; transform: translateY(24px); }

/* =====================================================
   CONTACT INFO CARDS
   ===================================================== */
.ct-info-cards { display: flex; flex-direction: column; gap: 20px; }

.ct-info-card {
  opacity: 0;
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px;
  background: var(--lt);
  border: 1.5px solid var(--br);
  border-radius: var(--r2);
  transition: var(--tr);
}
.ct-info-card:hover {
  border-color: rgba(137,186,51,0.4);
  box-shadow: 0 6px 24px rgba(137,186,51,0.08);
}
.ct-info-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(137,186,51,0.1);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--p); font-size: 1.1rem;
  transition: var(--tr);
}
.ct-info-card:hover .ct-info-icon { background: var(--p); color: var(--wh); }
.ct-info-text h6 {
  font-family: var(--fh); font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--mu); margin-bottom: 5px;
}
.ct-info-text p { font-size: 0.9rem; color: var(--tx); line-height: 1.6; margin: 0; }
.ct-info-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--fh); font-size: 0.78rem; font-weight: 600;
  color: var(--p); margin-top: 6px; transition: var(--tr);
}
.ct-info-link:hover { color: var(--p2); gap: 6px; }

/* Social row */
.ct-socials { display: flex; align-items: center; gap: 14px; }
.ct-socials span {
  font-family: var(--fh); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--mu);
}
.ct-social-links { display: flex; gap: 8px; }
.ct-social-links a {
  width: 38px; height: 38px;
  border: 1.5px solid var(--br);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--mu); font-size: 1.05rem;
  transition: var(--tr);
}
.ct-social-links a:hover { background: var(--p); border-color: var(--p); color: var(--wh); }

/* =====================================================
   CONTACT FORM
   ===================================================== */
.ct-form-wrap {
  background: var(--wh);
  border: 1.5px solid var(--br);
  border-radius: var(--r2);
  padding: 40px;
  box-shadow: var(--sh);
}
.ct-form-title {
  font-family: var(--fh); font-size: 1.4rem; font-weight: 700;
  color: var(--dk);
}
.ct-label {
  display: block;
  font-family: var(--fh); font-size: 0.78rem; font-weight: 600;
  color: var(--tx); margin-bottom: 6px;
}
.ct-label span { color: var(--p); }

.ct-check {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-size: 0.82rem; color: var(--mu); line-height: 1.5;
}
.ct-check input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0;
  margin-top: 2px; accent-color: var(--p); cursor: pointer;
}
.ct-submit-btn { height: 52px; font-size: 0.95rem; justify-content: center; }

/* =====================================================
   MAP SECTION
   ===================================================== */
.ct-map-section {
  position: relative;
}
.ct-map-header {
  background: var(--dk);
  padding: 56px 0 0;
}
.ct-map-top {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 20px;
  padding-bottom: 40px;
}
.ct-map-top .kv-title { color: var(--wh); }

.ct-map-embed {
  width: 100%;
  height: 520px;
  position: relative;
  overflow: hidden;
  filter: grayscale(15%) contrast(1.05);
}
.ct-map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: none; }

/* Floating address card over the map */
.ct-map-card {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  background: var(--wh);
  border-radius: var(--r2);
  padding: 18px 24px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,0.2);
  min-width: 340px; max-width: 500px;
  z-index: 10;
}
.ct-mc-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(137,186,51,0.1);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  color: var(--p); font-size: 1.2rem;
}
.ct-mc-text { display: flex; flex-direction: column; gap: 2px; }
.ct-mc-text strong {
  font-family: var(--fh); font-size: 0.9rem; font-weight: 700; color: var(--dk);
}
.ct-mc-text span { font-size: 0.8rem; color: var(--mu); }
.ct-mc-text a {
  font-family: var(--fh); font-size: 0.75rem; font-weight: 600;
  color: var(--p); display: inline-flex; align-items: center; gap: 4px;
  margin-top: 2px; transition: var(--tr);
}
.ct-mc-text a:hover { color: var(--p2); }

/* =====================================================
   ENQUIRY TYPE CARDS
   ===================================================== */
.ct-eq-card {
  opacity: 0;
  background: var(--wh);
  border: 1.5px solid var(--br);
  border-radius: var(--r2);
  padding: 28px 24px;
  height: 100%;
  transition: var(--tr);
}
.ct-eq-card:hover {
  border-color: var(--p);
  box-shadow: 0 8px 32px rgba(137,186,51,0.1);
  transform: translateY(-4px);
}
.ct-eq-icon {
  width: 50px; height: 50px;
  background: rgba(137,186,51,0.1);
  border-radius: var(--r);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--p);
  margin-bottom: 16px;
  transition: var(--tr);
}
.ct-eq-card:hover .ct-eq-icon { background: var(--p); color: var(--wh); }
.ct-eq-card h5 {
  font-family: var(--fh); font-size: 0.95rem; font-weight: 700;
  color: var(--dk); margin-bottom: 10px;
}
.ct-eq-card p { font-size: 0.82rem; line-height: 1.7; color: var(--mu); margin-bottom: 16px; }
.ct-eq-link {
  font-family: var(--fh); font-size: 0.8rem; font-weight: 600;
  color: var(--p); display: inline-flex; align-items: center; gap: 5px;
  transition: var(--tr);
}
.ct-eq-link:hover { gap: 8px; color: var(--p2); }

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.ct-faq-list { display: flex; flex-direction: column; gap: 0; }

.ct-faq-item {
  border-bottom: 1px solid var(--br);
}
.ct-faq-item:first-child { border-top: 1px solid var(--br); }

.ct-faq-q {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  padding: 20px 0;
  background: none; border: none; cursor: pointer;
  font-family: var(--fh); font-size: 0.95rem; font-weight: 600;
  color: var(--dk); text-align: left;
  transition: color 0.2s ease;
}
.ct-faq-q:hover { color: var(--p); }
.ct-faq-q[data-open="true"] { color: var(--p); }

.ct-faq-icon {
  font-size: 1.1rem; flex-shrink: 0;
  color: var(--p); transition: transform 0.3s ease;
}
.ct-faq-q[data-open="true"] .ct-faq-icon { transform: rotate(45deg); }

.ct-faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.ct-faq-a.open { max-height: 200px; padding-bottom: 16px; }
.ct-faq-a p { font-size: 0.875rem; line-height: 1.8; color: var(--mu); margin: 0; }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 991px) {
  .ct-map-card { min-width: 280px; }
}

@media (max-width: 767px) {
  .ct-hero { height: 70vh; min-height: 420px; }
  .ct-form-wrap { padding: 24px 20px; }
  .ct-map-embed { height: 380px; }
  .ct-map-card {
    position: static;
    transform: none;
    margin: 0 16px;
    border-radius: 0 0 var(--r2) var(--r2);
    min-width: unset; width: calc(100% - 32px);
    box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  }
  .ct-map-top { flex-direction: column; align-items: flex-start; }
}
