/* =========================================
   MITTI & MIST — CONTACT.CSS
   Mood: Warm, open, helpful — cream & sage tones
   Palette: Sage green accents, cream bg, espresso type
   ========================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE5D4;
  --paper: #FDFAF5;
  --terra: #C4622D;
  --terra-light: #E07A45;
  --espresso: #1A0F0A;
  --espresso-mid: #3D2314;
  --fog: #7A6E68;
  --sage: #6B7F5E;
  --sage-light: rgba(107,127,94,0.1);
  --white: #FDFAF5;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }
body { background: var(--cream); color: var(--espresso); font-family: var(--font-body); overflow-x: hidden; }

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 4rem;
  background: rgba(245,240,232,0.95); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26,15,10,0.07);
}
.nav-logo {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 600;
  color: var(--espresso); text-decoration: none;
}
.nav-logo span { color: var(--terra); }
.nav-links { display: flex; gap: 2.5rem; list-style: none; }
.nav-links a {
  font-size: 0.8rem; color: var(--espresso-mid); text-decoration: none;
  letter-spacing: 0.06em; text-transform: uppercase; transition: color 0.3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--terra); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; }
.nav-toggle span { display: block; width: 24px; height: 1.5px; background: var(--espresso); }

/* ── CONTACT HERO ── */
.contact-hero {
  padding: 140px 4rem 5rem; position: relative; overflow: hidden;
  background: var(--espresso); min-height: 50vh; display: flex; align-items: flex-end;
}
.ch-bg-shape {
  position: absolute; top: -100px; right: -150px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,98,45,0.35) 0%, transparent 70%);
  pointer-events: none;
}
.ch-content { position: relative; z-index: 2; max-width: 600px; animation: fadeUp 0.9s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
.ch-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra-light); margin-bottom: 1rem; display: block;
}
.ch-content h1 {
  font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300; line-height: 1.05; color: var(--white); margin-bottom: 1.25rem;
}
.ch-content h1 em { font-style: italic; color: var(--terra-light); }
.ch-sub { font-size: 1rem; color: rgba(255,255,255,0.5); line-height: 1.75; font-weight: 300; }

/* ── CONTACT BODY ── */
.contact-body { padding: 4rem; background: var(--cream); }

/* ── INFO CARDS ── */
.contact-info-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  margin-bottom: 3rem;
}
.ci-card {
  padding: 2rem 1.5rem; background: var(--paper); border: 1px solid var(--cream-dark);
  border-radius: 2px; transition: all 0.35s; text-decoration: none; color: inherit;
  display: block;
  opacity: 0; transform: translateY(20px);
}
.ci-card.visible { animation: fadeUp 0.6s ease forwards; }
.ci-card:nth-child(1) { animation-delay: 0s; }
.ci-card:nth-child(2) { animation-delay: 0.1s; }
.ci-card:nth-child(3) { animation-delay: 0.2s; }
.ci-card:nth-child(4) { animation-delay: 0.3s; }
.ci-card:hover { border-color: var(--terra); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(196,98,45,0.1); }
.ci-card-link { cursor: pointer; }
.ci-icon {
  font-size: 1.5rem; color: var(--terra); margin-bottom: 1rem;
}
.ci-whatsapp { color: #25D366; }
.ci-card h3 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 400;
  color: var(--espresso); margin-bottom: 0.35rem;
}
.ci-card p { font-size: 0.88rem; color: var(--fog); line-height: 1.55; }
.ci-action {
  display: block; margin-top: 1rem; font-size: 0.75rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--terra); font-weight: 500;
}

/* ── HOURS ── */
.contact-hours {
  background: var(--espresso); padding: 3rem; border-radius: 2px;
  margin-bottom: 3rem;
}
.ch-label {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--terra-light); margin-bottom: 2rem;
}
.ch-grid { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.ch-row {
  display: grid; grid-template-columns: 180px 1fr 150px; align-items: center; gap: 1rem;
  opacity: 0; transform: translateX(-20px);
}
.ch-row.visible { animation: slideIn 0.5s ease forwards; }
.ch-row:nth-child(1) { animation-delay: 0s; }
.ch-row:nth-child(2) { animation-delay: 0.1s; }
.ch-row:nth-child(3) { animation-delay: 0.2s; }
@keyframes slideIn {
  from { opacity: 0; transform: translateX(-20px); }
  to { opacity: 1; transform: translateX(0); }
}
.ch-row > span:first-child { font-size: 0.875rem; color: rgba(245,240,232,0.7); }
.ch-bar {
  height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden;
}
.ch-fill {
  height: 100%; background: var(--terra); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 1s ease 0.5s;
}
.ch-row.visible .ch-fill { transform: scaleX(1); }
.ch-time { font-size: 0.82rem; color: rgba(245,240,232,0.5); text-align: right; }
.ch-note {
  font-size: 0.8rem; color: rgba(245,240,232,0.35);
  display: flex; align-items: center; gap: 0.5rem; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.ch-note .fa-circle-info { color: var(--terra-light); }

/* ── CONTACT LOWER ── */
.contact-lower {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}

/* Form wrap */
.contact-form-wrap {}
.cf-tag {
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--terra); margin-bottom: 0.75rem; display: block;
}
.contact-form-wrap h2 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 300; color: var(--espresso); line-height: 1.2; margin-bottom: 2rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
label {
  font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--fog); font-weight: 500;
}
.req { color: var(--terra); }
input, select, textarea {
  font-family: var(--font-body); font-size: 0.95rem; color: var(--espresso);
  background: var(--paper); border: 1px solid var(--cream-dark); border-radius: 2px;
  padding: 0.75rem 1rem; outline: none; transition: border-color 0.3s, box-shadow 0.3s; width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--terra); box-shadow: 0 0 0 3px rgba(196,98,45,0.08);
}
textarea { resize: vertical; }
select {
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A6E68' fill='none' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center;
}
.btn-send {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--terra); color: var(--white); border: none;
  padding: 0.9rem 2rem; border-radius: 2px; cursor: pointer;
  font-family: var(--font-body); font-size: 0.875rem; letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 500; width: fit-content;
  transition: background 0.3s, transform 0.3s;
}
.btn-send:hover { background: var(--espresso); transform: translateY(-2px); }

.contact-success {
  flex-direction: column; gap: 0.75rem; padding: 2rem; background: var(--paper);
  border: 1px solid var(--cream-dark); border-radius: 2px; border-left: 3px solid var(--sage);
}
.contact-success .fa-circle-check { font-size: 2.5rem; color: var(--sage); }
.contact-success h3 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; color: var(--espresso);
}
.contact-success p { font-size: 0.9rem; color: var(--fog); line-height: 1.65; }

/* Map panel */
.contact-map-panel { display: flex; flex-direction: column; gap: 2rem; }
.map-embed-wrap { display: flex; flex-direction: column; gap: 1rem; }
.map-placeholder {
  background: var(--cream-dark);
  border-radius: 2px; height: 260px; overflow: hidden;
}
.map-placeholder iframe { display: block; }
.map-directions-link {
  display: inline-flex; align-items: center; gap: 0.5rem; align-self: flex-start;
  background: var(--terra); color: var(--white); border: none;
  padding: 0.7rem 1.5rem; border-radius: 2px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; transition: background 0.3s, transform 0.3s;
}
.map-directions-link:hover { background: var(--espresso); transform: translateY(-2px); }

/* ── FAQ ── */
.faq-section { }
.faq-section h3 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 400;
  color: var(--espresso); margin-bottom: 1.25rem;
}
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--cream-dark); }
.faq-q {
  width: 100%; background: none; border: none; padding: 1rem 0;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-body); font-size: 0.9rem; color: var(--espresso);
  cursor: pointer; text-align: left; gap: 1rem; transition: color 0.3s;
}
.faq-q:hover { color: var(--terra); }
.faq-q .fa-plus { font-size: 0.75rem; color: var(--terra); flex-shrink: 0; transition: transform 0.3s; }
.faq-item.open .faq-q .fa-plus { transform: rotate(45deg); }
.faq-a {
  font-size: 0.875rem; color: var(--fog); line-height: 1.7;
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 1rem; }

/* ── SOCIAL STRIP ── */
.social-strip {
  background: var(--espresso-mid, #3D2314); padding: 4rem;
}
.ss-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 2rem; }
.ss-inner h2 {
  font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 300; color: var(--white);
}
.ss-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.ss-link {
  display: flex; align-items: center; gap: 0.6rem;
  color: rgba(245,240,232,0.6); text-decoration: none;
  font-size: 0.875rem; transition: color 0.3s;
  border: 1px solid rgba(255,255,255,0.15); padding: 0.6rem 1.25rem; border-radius: 100px;
}
.ss-link:hover { color: var(--terra-light); border-color: var(--terra-light); }
.ss-link i { font-size: 1rem; }

/* ── FOOTER ── */
.footer { background: var(--espresso); color: rgba(245,240,232,0.6); }
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem; padding: 4rem 4rem 3rem;
}
.footer-logo {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  color: var(--white); margin-bottom: 0.75rem;
}
.footer-logo span { color: var(--terra); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: rgba(245,240,232,0.5); text-decoration: none; transition: all 0.3s; font-size: 0.8rem;
}
.footer-social a:hover { border-color: var(--terra); color: var(--terra); }
.footer-links h4, .footer-contact h4 {
  font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--white); margin-bottom: 1rem; font-weight: 500;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a {
  color: rgba(245,240,232,0.5); text-decoration: none; font-size: 0.85rem; transition: color 0.3s;
}
.footer-links a:hover { color: var(--terra); }
.footer-contact p, .footer-contact a {
  font-size: 0.85rem; color: rgba(245,240,232,0.5); line-height: 1.7;
  text-decoration: none; display: block;
}
.footer-contact a:hover { color: var(--terra); }
.footer-bottom {
  display: flex; justify-content: space-between;
  padding: 1.25rem 4rem; border-top: 1px solid rgba(255,255,255,0.07);
  font-size: 0.78rem; color: rgba(245,240,232,0.3);
}

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .contact-info-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-lower { grid-template-columns: 1fr; }
  .contact-body { padding: 3rem 2rem; }
  .nav { padding: 0.9rem 2rem; }
}
@media (max-width: 768px) {
  .ch-row { grid-template-columns: 1fr 1fr; }
  .ch-bar { display: none; }
  .footer-top { grid-template-columns: 1fr; gap: 1.5rem; padding: 3rem 2rem; }
  .footer-bottom { padding: 1rem 2rem; flex-direction: column; gap: 0.4rem; }
  .ss-inner { flex-direction: column; align-items: flex-start; }
  .social-strip { padding: 3rem 2rem; }
  .contact-hero { padding: 110px 2rem 4rem; }
}
@media (max-width: 600px) {
  .nav-toggle { display: flex; }
  .nav { padding: 0.85rem 1.25rem; }
  .nav-links {
    position: fixed; inset: 0;
    background: var(--espresso); flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; transform: translateX(100%); transition: transform 0.4s; list-style: none;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; color: var(--white) !important; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-body { padding: 2rem 1.25rem; }
}
