/* ============================================================
   Door2Door Laundry — css/contact.css
   Theme: Playfair Display + DM Sans, teal #42BABC
   ============================================================ */

:root {
  --teal:       #42BABC;
  --teal-dark:  #2e9ea0;
  --teal-light: #e8f9f9;
  --teal-mid:   #c8eeee;
  --text-dark:  #1a2530;
  --text-body:  #4a5568;
  --text-light: #8898aa;
  --bg-page:    #f7fbfb;
  --bg-white:   #ffffff;
  --border:     #e2eef0;
  --shadow-sm:  0 2px 8px rgba(66,186,188,.10);
  --shadow-md:  0 6px 24px rgba(66,186,188,.14);
  --shadow-lg:  0 16px 48px rgba(66,186,188,.18);
  --radius:     16px;
  --radius-sm:  10px;
  --transition: all .25s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg-page); color: var(--text-body); }

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.ct-hero {
  position: relative;
  background: linear-gradient(135deg, #1a3a4a 0%, #1e5c5e 45%, #42BABC 100%);
  padding: 100px 24px 64px;
  text-align: center;
  overflow: hidden;
}
.ct-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}
.ct-hero__badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  margin-bottom: 18px;
}
.ct-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.ct-hero__title em { font-style: italic; color: #a8edee; }
.ct-hero__sub {
  color: rgba(255,255,255,.82);
  font-size: 1.05rem;
  line-height: 1.65;
  max-width: 500px;
  margin: 0 auto;
}
.ct-hero__wave {
  position: absolute;
  bottom: -1px; left: 0;
  width: 100%; z-index: 1;
}
.ct-hero__wave svg { display: block; height: 70px; width: 100%; }

/* Bubbles */
.ct-hero__bubbles { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.chb {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  animation: ctFloat 8s ease-in-out infinite;
}
.chb1 { width: 80px;  height: 80px;  top: 12%; left: 6%;   animation-delay: 0s; }
.chb2 { width: 50px;  height: 50px;  top: 65%; left: 4%;   animation-delay: 1.5s; }
.chb3 { width: 110px; height: 110px; top: 10%; right: 5%;  animation-delay: 3s; }
.chb4 { width: 40px;  height: 40px;  top: 70%; right: 8%;  animation-delay: 2s; }
@keyframes ctFloat {
  0%,100% { transform: translateY(0) scale(1); }
  50%      { transform: translateY(-18px) scale(1.04); }
}

/* ══════════════════════════════════════════════════════════════
   LAYOUT WRAPPER
══════════════════════════════════════════════════════════════ */
.ct-wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════════════════════════════════════
   QUICK CONTACT PILLS
══════════════════════════════════════════════════════════════ */
.ct-quick {
  padding: 48px 0 0;
}
.ct-quick .ct-wrap {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.ct-pill {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 22px;
  text-decoration: none;
  flex: 1;
  min-width: 220px;
  max-width: 340px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(20px);
}
.ct-pill.visible { opacity: 1; transform: translateY(0); }
.ct-pill:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.ct-pill__icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--teal-light);
  display: flex; align-items: center; justify-content: center;
  color: var(--teal-dark);
  flex-shrink: 0;
  transition: var(--transition);
}
.ct-pill:hover .ct-pill__icon {
  background: var(--teal);
  color: #fff;
}
.ct-pill--whatsapp:hover .ct-pill__icon { background: #25D366; }
.ct-pill--email:hover .ct-pill__icon    { background: var(--teal); }

.ct-pill__text { flex: 1; }
.ct-pill__label {
  display: block;
  font-size: .72rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 600;
  margin-bottom: 2px;
}
.ct-pill__val {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: var(--text-dark);
}
.ct-pill__arrow {
  color: var(--text-light);
  font-size: 1.1rem;
  transition: var(--transition);
}
.ct-pill:hover .ct-pill__arrow { color: var(--teal); transform: translateX(4px); }

/* ══════════════════════════════════════════════════════════════
   MAIN GRID
══════════════════════════════════════════════════════════════ */
.ct-main { padding: 56px 0 80px; }
.ct-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: start;
}

/* ── REVEAL ANIMATION ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
[data-reveal].visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════════════════════
   FORM SIDE
══════════════════════════════════════════════════════════════ */
.ct-form-wrap {
  background: var(--bg-white);
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-sm);
}
.ct-form-header { margin-bottom: 28px; }

.ct-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--teal-light);
  border: 1px solid var(--teal-mid);
  color: var(--teal-dark);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.ct-chip-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  animation: ctPulse 2s ease infinite;
}
@keyframes ctPulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: .5; transform: scale(1.4); }
}
.ct-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 8px;
}
.ct-form-title em { font-style: italic; color: var(--teal-dark); }
.ct-form-sub { color: var(--text-body); font-size: .93rem; line-height: 1.6; }

/* Form layout */
.ct-form { display: flex; flex-direction: column; gap: 18px; }
.ct-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.ct-field { display: flex; flex-direction: column; gap: 6px; }
.ct-label {
  font-size: .84rem;
  font-weight: 600;
  color: var(--text-dark);
}
.ct-input {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  color: var(--text-dark);
  background: var(--bg-white);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.ct-input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(66,186,188,.12);
}
.ct-input.ct-error { border-color: #e53e3e; }

/* Select */
.ct-select-wrap { position: relative; }
.ct-select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.ct-select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-light);
}

/* Textarea */
.ct-textarea { resize: vertical; min-height: 120px; }

/* Error text */
.ct-err {
  font-size: .78rem;
  color: #e53e3e;
  min-height: 16px;
}

/* Success / Error banners */
.ct-form-success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f0fff4;
  border: 1.5px solid #9ae6b4;
  border-radius: var(--radius-sm);
  padding: 16px;
}
.ct-success-icon { font-size: 1.4rem; flex-shrink: 0; }
.ct-form-success strong { display: block; color: #276749; font-size: .95rem; margin-bottom: 2px; }
.ct-form-success p { color: #2f855a; font-size: .85rem; margin: 0; }

.ct-form-error {
  background: #fff5f5;
  border: 1.5px solid #feb2b2;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: #c53030;
  font-size: .88rem;
}

/* Submit button */
.ct-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: 'DM Sans', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(66,186,188,.35);
  width: 100%;
}
.ct-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66,186,188,.45);
}
.ct-submit:disabled { opacity: .7; cursor: default; transform: none; }

.ct-spinner {
  display: inline-block;
  width: 15px; height: 15px;
  border: 2px solid rgba(255,255,255,.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ctSpin .7s linear infinite;
}
@keyframes ctSpin { to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════════════════════════
   INFO SIDE
══════════════════════════════════════════════════════════════ */
.ct-info { display: flex; flex-direction: column; gap: 20px; }

.ct-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.ct-info-card:hover {
  border-color: var(--teal-mid);
  box-shadow: var(--shadow-md);
}
.ct-info-card__icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.ct-info-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.ct-info-card__text {
  font-size: .9rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 12px;
}
.ct-map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: var(--teal-dark);
  text-decoration: none;
  border-bottom: 1.5px solid var(--teal-mid);
  padding-bottom: 1px;
  transition: var(--transition);
}
.ct-map-link:hover { color: var(--teal); border-color: var(--teal); }

/* Hours list */
.ct-hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ct-hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .88rem;
  gap: 8px;
}
.ct-hours-list li span { color: var(--text-body); }
.ct-hours-list li strong { color: var(--text-dark); font-weight: 600; }
.ct-hours-note {
  display: flex !important;
  align-items: flex-start !important;
  gap: 7px !important;
  justify-content: flex-start !important;
  font-size: .8rem !important;
  color: var(--teal-dark) !important;
  background: var(--teal-light);
  border-radius: 8px;
  padding: 8px 10px !important;
  margin-top: 4px;
  line-height: 1.5;
}
.ct-hours-note svg { flex-shrink: 0; margin-top: 1px; color: var(--teal); }
.ct-hours-note strong { display: none; }

/* Map embed */
.ct-map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.ct-map-embed iframe { display: block; }

/* FAQ */
.ct-faq {
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.ct-faq__title {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.ct-faq__list { display: flex; flex-direction: column; gap: 2px; }
.ct-faq__item {
  border-radius: 8px;
  overflow: hidden;
}
.ct-faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 11px 14px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-dark);
  background: var(--bg-page);
  border-radius: 8px;
  transition: background .18s, color .18s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ct-faq__item summary::after {
  content: '+';
  font-size: 1.1rem;
  color: var(--teal);
  transition: transform .2s;
  flex-shrink: 0;
}
.ct-faq__item[open] summary::after { transform: rotate(45deg); }
.ct-faq__item summary:hover { background: var(--teal-light); color: var(--teal-dark); }
.ct-faq__item[open] summary { background: var(--teal-light); color: var(--teal-dark); border-radius: 8px 8px 0 0; }
.ct-faq__item p {
  padding: 10px 14px 12px;
  font-size: .85rem;
  color: var(--text-body);
  line-height: 1.65;
  background: var(--teal-light);
  border-radius: 0 0 8px 8px;
  margin: 0;
}
.ct-faq__item summary::-webkit-details-marker { display: none; }

/* ══════════════════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════════════════ */
.ct-cta {
  margin: 0 24px 80px;
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius);
  background: linear-gradient(120deg, #1a3a4a 0%, #1e5c5e 50%, #42BABC 100%);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
  margin-bottom: 0;
}
.ct-cta.visible { opacity: 1; transform: translateY(0); }
.ct-cta__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 36px;
  flex-wrap: wrap;
}
.ct-cta__emoji { font-size: 2.8rem; flex-shrink: 0; }
.ct-cta__inner > div { flex: 1; min-width: 200px; }
.ct-cta__title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.ct-cta__sub { color: rgba(255,255,255,.78); font-size: .9rem; }
.ct-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--teal-dark);
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0,0,0,.2);
  transition: var(--transition);
  flex-shrink: 0;
}
.ct-cta__btn:hover {
  background: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .ct-grid { grid-template-columns: 1fr; }
  .ct-info { order: -1; }
  .ct-info-card, .ct-map-embed, .ct-faq { max-width: 600px; }
}
@media (max-width: 768px) {
  .ct-hero { padding: 80px 20px 50px; }
  .ct-main { padding: 40px 0 60px; }
  .ct-form-wrap { padding: 24px 20px; }
  .ct-field-row { grid-template-columns: 1fr; }
  .ct-quick .ct-wrap { flex-direction: column; align-items: stretch; }
  .ct-pill { max-width: 100%; }
  .ct-cta__inner { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .ct-form-title { font-size: 1.4rem; }
  .ct-cta__title { font-size: 1.25rem; }
}