/* =========================================================================
   Smile V2 — Contact page (Claude Design)
   Scope: ALL rules are nested under .smile-contact to avoid leaking to
   other pages. Uses theme tokens (--ink, --bg, --burgundy, --champagne,
   --line, --f-display, --f-body) from smile-v2-tokens.css.
   ========================================================================= */

.smile-contact{
  /* local fallbacks if tokens differ */
  --sc-cream: var(--cream, #FAF7F2);
  --sc-bg:    var(--bg, #F1EAE2);
  --sc-ink:   var(--ink, #241F1D);
  --sc-ink-2: var(--ink-2, #6B6360);
  --sc-ink-3: var(--ink-3, #9A928B);
  --sc-line:  var(--line, #E3D8CC);
  --sc-burg:  var(--burgundy, #6B2C2C);
  --sc-burg-deep: var(--burgundy-deep, #501F1F);
  --sc-champ: var(--champagne, #B8924F);
  --sc-champ-soft: var(--champagne-soft, #CDAE78);
  --sc-fd: var(--f-display, "Playfair Display", Georgia, serif);
  --sc-fb: var(--f-body, "Inter", sans-serif);
  --sc-ease: cubic-bezier(0.22, 1, 0.36, 1);

  background: var(--sc-bg);
  color: var(--sc-ink);
  font-family: var(--sc-fb);
}

.smile-contact *{ box-sizing: border-box; }

.smile-contact .sc-wrap{
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 28px 90px;
}

/* ---------- header ---------- */
.smile-contact .sc-kick{ display:flex; align-items:center; gap:13px; }
.smile-contact .sc-kick .ln{ width:34px; height:1px; background: var(--sc-champ); }
.smile-contact .sc-kick span{
  font-size:11px; letter-spacing:.24em; text-transform:uppercase;
  color: var(--sc-champ); font-weight:600;
}
.smile-contact h1.sc-h1{
  font-family: var(--sc-fd);
  font-weight:400;
  font-size: clamp(36px, 5vw, 54px);
  line-height:1.05;
  letter-spacing:-0.015em;
  color: var(--sc-ink);
  margin:16px 0 0;
}
.smile-contact h1.sc-h1 em{ font-style:italic; color: var(--sc-burg); }
.smile-contact .sc-intro{
  font-size:16px; line-height:1.65; color: var(--sc-ink-2);
  margin:16px 0 0; max-width:52ch;
}

/* ---------- top grid: map + quick contact ---------- */
.smile-contact .top{
  display:grid; grid-template-columns: 1.3fr 1fr;
  gap:24px; margin-top:42px;
}
.smile-contact .card{
  background: var(--sc-cream);
  border:1px solid var(--sc-line);
  border-radius:16px;
  overflow:hidden;
}

/* stylized map */
.smile-contact .map{ position:relative; min-height:330px; background:#ECE4D8; }
.smile-contact .map .roads i{ position:absolute; background: var(--sc-cream); }
.smile-contact .map .roads i.h{ height:13px; left:-5%; width:110%; top:38%; }
.smile-contact .map .roads i.v{ width:13px; top:-5%; height:110%; left:54%; }
.smile-contact .map .roads i.major{ background:#E4D8C5; }
.smile-contact .map .park{
  position:absolute; left:7%; top:46%; width:24%; height:36%;
  background:#D9E2CE; border-radius:6px;
}
.smile-contact .map .ref{
  position:absolute; font-size:10px; letter-spacing:.04em;
  color: var(--sc-ink-3); font-weight:500;
}
.smile-contact .map .pin{
  position:absolute; left:55%; top:42%;
  transform: translate(-50%, -100%); z-index:5;
}
.smile-contact .map .pin .drop{
  width:44px; height:44px;
  border-radius:50% 50% 50% 0;
  background: var(--sc-burg);
  transform: rotate(-45deg);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 26px -8px rgba(80,31,31,.6);
}
.smile-contact .map .pin .drop span{
  transform: rotate(45deg);
  font-family: var(--sc-fd); color:#fff; font-size:17px;
}
.smile-contact .map .tagpin{
  position:absolute; left:55%; top:42%;
  transform: translate(-50%, calc(-100% - 52px));
  background: var(--sc-cream);
  border:1px solid var(--sc-line);
  border-radius:5px; padding:6px 11px; white-space:nowrap; z-index:6;
  box-shadow:0 10px 24px -12px rgba(36,31,29,.4);
}
.smile-contact .map .tagpin b{
  font-family: var(--sc-fd); font-weight:500; font-size:12.5px; color: var(--sc-ink);
}
.smile-contact .map-foot{ padding:20px 22px; }
.smile-contact .map-foot .ttl{
  font-size:11px; letter-spacing:.14em; text-transform:uppercase;
  color: var(--sc-champ); font-weight:600;
}
.smile-contact .map-foot .addr{
  font-family: var(--sc-fd); font-size:18px; color: var(--sc-ink);
  margin-top:7px; line-height:1.4;
}
.smile-contact .map-foot .sub{
  font-size:13.5px; color: var(--sc-ink-2); margin-top:6px; line-height:1.5;
}

.smile-contact .sc-btn{
  display:inline-flex; align-items:center; gap:9px;
  background: var(--sc-burg); color:#fff !important; text-decoration:none;
  border-radius:999px; padding:13px 24px;
  font-size:13px; font-weight:600; letter-spacing:.04em; text-transform:uppercase;
  margin-top:16px;
  border:0; cursor:pointer;
  font-family: var(--sc-fb);
  transition: background .2s var(--sc-ease);
}
.smile-contact .sc-btn:hover{ background: var(--sc-burg-deep); }
.smile-contact .sc-btn svg{ width:15px; height:15px; transition: transform .25s var(--sc-ease); }
.smile-contact .sc-btn:hover svg{ transform: translateX(4px); }

/* quick contact list */
.smile-contact .qc{
  padding:8px 24px;
  display:flex; flex-direction:column; justify-content:center; height:100%;
}
.smile-contact .qrow{
  display:flex; align-items:center; gap:15px;
  padding:20px 0; min-height:44px;
  border-bottom:1px solid var(--sc-line);
  text-decoration:none;
  color: var(--sc-ink);
}
.smile-contact .qrow:last-child{ border-bottom:0; }
.smile-contact .qrow .ic{
  width:46px; height:46px; border-radius:50%;
  background:#fff; border:1px solid var(--sc-line);
  display:flex; align-items:center; justify-content:center;
  color: var(--sc-burg); flex-shrink:0;
}
.smile-contact .qrow .ic svg{ width:20px; height:20px; }
.smile-contact .qrow .k{
  display:block;
  font-size:11px; letter-spacing:.12em; text-transform:uppercase;
  color: var(--sc-ink-3); font-weight:600;
}
.smile-contact .qrow .v{
  display:block; font-size:16px; color: var(--sc-ink);
  margin-top:3px; font-weight:500;
}
.smile-contact .qrow .v.wa{ color:#1FA855; }

/* ---------- info grid ---------- */
.smile-contact .grid{
  display:grid; grid-template-columns: 1fr 1fr 1fr;
  gap:24px; margin-top:24px;
}
.smile-contact .panel{
  background: var(--sc-cream);
  border:1px solid var(--sc-line);
  border-radius:16px;
  padding:28px 26px;
}
.smile-contact .panel h3{
  font-family: var(--sc-fd); font-weight:500; font-size:20px;
  color: var(--sc-ink); margin:0;
  display:flex; align-items:center; gap:10px;
}
.smile-contact .panel h3 svg{ width:18px; height:18px; color: var(--sc-champ); }
.smile-contact .panel .body{ margin-top:16px; }

/* hours */
.smile-contact .hrow{
  display:flex; align-items:baseline; justify-content:space-between;
  gap:12px; padding:10px 0; border-bottom:1px solid var(--sc-line);
}
.smile-contact .hrow:last-child{ border-bottom:0; }
.smile-contact .hrow .d{
  font-size:11px; letter-spacing:.1em; text-transform:uppercase;
  color: var(--sc-ink-3); font-weight:600;
}
.smile-contact .hrow .h{ font-family: var(--sc-fd); font-size:16px; color: var(--sc-ink); }

/* parking links */
.smile-contact .plink{
  display:flex; align-items:center; gap:10px;
  padding:11px 0; min-height:44px;
  border-bottom:1px solid var(--sc-line);
  text-decoration:none; color: var(--sc-ink); font-size:14px;
}
.smile-contact .plink:last-child{ border-bottom:0; }
.smile-contact .plink svg{ width:14px; height:14px; color: var(--sc-burg); flex-shrink:0; }
.smile-contact .plink .ar{ margin-left:auto; color: var(--sc-ink-3); }
.smile-contact .pnote{
  font-size:13px; color: var(--sc-ink-2);
  line-height:1.55; margin:0 0 14px;
}

/* tips */
.smile-contact .tip{
  display:flex; gap:10px; font-size:13.5px;
  color: var(--sc-ink-2); line-height:1.55; padding:9px 0;
}
.smile-contact .tip svg{
  width:16px; height:16px; color: var(--sc-champ);
  flex-shrink:0; margin-top:2px;
}
.smile-contact .tip b{ color: var(--sc-ink); font-weight:600; }

/* ---------- pet friendly band ---------- */
.smile-contact .pet{
  margin-top:24px;
  background: linear-gradient(110deg, var(--sc-burg), var(--sc-burg-deep));
  border-radius:16px; padding:34px 38px;
  color:#fff;
  display:flex; gap:22px; align-items:flex-start;
}
.smile-contact .pet .paw{
  width:48px; height:48px; border-radius:50%;
  background: rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.smile-contact .pet .paw svg{ width:24px; height:24px; color: var(--sc-champ-soft); }
.smile-contact .pet h3{ font-family: var(--sc-fd); font-weight:500; font-size:23px; margin:0; color:#fff; }
.smile-contact .pet p{
  font-size:14px; line-height:1.65;
  color: rgba(255,255,255,.85);
  margin:10px 0 0; max-width:70ch;
}
.smile-contact .pet b{ color:#fff; font-weight:600; }

/* ---------- contact form ---------- */
.smile-contact .formwrap{ margin-top:54px; text-align:center; }
.smile-contact .form-h{
  font-family: var(--sc-fd); font-weight:400;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height:1.08; color: var(--sc-ink);
  margin:14px 0 0;
}
.smile-contact .form-h em{ font-style:italic; color: var(--sc-burg); }
.smile-contact .form-sub{
  font-size:14.5px; color: var(--sc-ink-2);
  line-height:1.6; margin:12px auto 0; max-width:46ch;
}
.smile-contact .cform{
  max-width:720px; margin:30px auto 0;
  text-align:left;
  background: var(--sc-cream);
  border:1px solid var(--sc-line);
  border-radius:16px;
  padding:34px 32px;
}
.smile-contact .formgrid{
  display:grid; grid-template-columns: 1fr 1fr; gap:16px;
}
.smile-contact .field{ margin-bottom:16px; }
.smile-contact .field label{
  display:block;
  font-size:12px; letter-spacing:.04em;
  color: var(--sc-ink-2); margin-bottom:7px; font-weight:500;
}
.smile-contact .field label .opt{
  color: var(--sc-ink-3); font-weight:400;
  text-transform:none; letter-spacing:0;
}
.smile-contact .field input,
.smile-contact .field select,
.smile-contact .field textarea{
  width:100%;
  border:1px solid var(--sc-line);
  border-radius:11px;
  background:#fff;
  padding:13px 14px;
  font-family: var(--sc-fb);
  font-size:14.5px;
  color: var(--sc-ink);
  outline:none;
  transition: border-color .2s var(--sc-ease);
}
.smile-contact .field input:focus,
.smile-contact .field select:focus,
.smile-contact .field textarea:focus{ border-color: var(--sc-champ); }
.smile-contact .field textarea{ resize:vertical; min-height:120px; }
.smile-contact .form-btn{ border:0; cursor:pointer; margin-top:4px; }

/* honeypot — hide visually but keep in DOM (PS expects name="url") */
.smile-contact .sc-hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* notifications */
.smile-contact .sc-alert{
  max-width:720px; margin:24px auto 0;
  border-radius:12px; padding:14px 18px;
  font-size:14px; line-height:1.5;
  border:1px solid var(--sc-line);
  background:#fff;
}
.smile-contact .sc-alert.ok{
  border-color:#cfe6d4;
  background:#f3faf4;
  color:#23593a;
}
.smile-contact .sc-alert.err{
  border-color:#e8c9c9;
  background:#fbf3f3;
  color: var(--sc-burg-deep);
}
.smile-contact .sc-alert ul{ margin:0; padding-left:18px; }

/* ---------- responsive ---------- */
@media (max-width: 920px){
  .smile-contact .top{ grid-template-columns: 1fr; }
  .smile-contact .grid{ grid-template-columns: 1fr; }
  .smile-contact .formgrid{ grid-template-columns: 1fr !important; }
}
@media (max-width: 560px){
  .smile-contact .sc-wrap{ padding:44px 18px 70px; }
  .smile-contact .pet{ flex-direction:column; padding:26px 22px; gap:14px; }
  .smile-contact .cform{ padding:26px 20px; }
  .smile-contact .map{ min-height:260px; }
}

/* ===== Mapcard (handoff smile_mapa 20260603) ===== */
.mapcard { display: block; position: relative; border: 1px solid #E3D8CC; border-radius: 16px; overflow: hidden; text-decoration: none; box-shadow: 0 24px 50px -30px rgba(36,31,29,.4); background: #FAF7F2; color: inherit; }
.mapcard:hover { text-decoration: none; }
.mapcard .frame { position: relative; aspect-ratio: 1/1; overflow: hidden; background: #E7DED3; }
.mapcard .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; display: block; filter: saturate(.82) contrast(1.02) sepia(.06); }
.mapcard .frame::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(160deg, rgba(184,146,79,.10), rgba(107,44,44,.06)); mix-blend-mode: multiply; }
.mapcard .frame::after { content: ''; position: absolute; inset: 12px; z-index: 2; pointer-events: none; border: 1px solid rgba(205,174,120,.75); border-radius: 7px; }
.mapcard .open { position: absolute; right: 14px; bottom: 14px; z-index: 3; background: rgba(250,247,242,.96); border: 1px solid #E3D8CC; border-radius: 999px; padding: 10px 15px; font-size: 12.5px; font-weight: 600; color: #6B2C2C; display: inline-flex; align-items: center; gap: 7px; }
.mapcard .open svg { width: 14px; height: 14px; }
.mapcard .foot { padding: 18px 20px; background: #FAF7F2; border-top: 1px solid #E3D8CC; }
.mapcard .foot .a { font-family: 'Playfair Display', Georgia, serif; font-weight: 500; font-size: 17px; color: #241F1D; }
.mapcard .foot .s { font-size: 13.5px; line-height: 1.55; color: #5C5550; margin-top: 6px; }
@media (max-width: 720px) {
  .mapcard .frame { aspect-ratio: 4/3; }
  .mapcard .open { right: 10px; bottom: 10px; padding: 8px 12px; font-size: 11.5px; }
  .mapcard .foot { padding: 14px 16px; }
}
