/* === Contacto page styles ============================================ */

/* Page hero */
.pg-hero {
  padding: clamp(56px, 8vw, 96px) var(--pad-x) clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  background: var(--paper-2);
}
.pg-hero .container { max-width: var(--maxw); margin: 0 auto; }
.pg-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -.03em;
  color: var(--ink);
  margin: 0;
}
.pg-hero h1 em {
  font-family: "Fraunces", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--brand);
}
.pg-hero .lede { margin-top: 22px; max-width: 60ch; }

/* Quick actions row */
.quick-actions {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.qa-card {
  border: 1px solid var(--line);
  background: white;
  padding: 24px;
  display: flex; flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s, border-color .15s, box-shadow .15s;
  position: relative;
}
.qa-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(15,42,51,.06);
}
.qa-card .qa-icon {
  width: 40px; height: 40px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.qa-card .qa-label {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.qa-card .qa-value {
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -.015em;
  color: var(--ink);
  line-height: 1.2;
}
.qa-card .qa-sub {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: 2px;
}
.qa-card .qa-arrow {
  position: absolute;
  top: 24px; right: 24px;
  color: var(--ink-3);
  transition: color .15s, transform .15s;
}
.qa-card:hover .qa-arrow { color: var(--brand); transform: translate(2px, -2px); }
.qa-card.qa-wa { background: linear-gradient(135deg, #25d36608, white 50%); }
.qa-card.qa-wa .qa-icon { background: rgba(37,211,102,.12); color: #1ea954; }

@media (max-width: 760px) {
  .quick-actions { grid-template-columns: 1fr; }
}

/* Address / Map / Photo three-up */
.addr-section {
  padding: clamp(56px, 7vw, 96px) var(--pad-x);
}
.addr-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 0;
  border: 1px solid var(--line);
}
.addr-info { padding: 40px; background: var(--paper-2); border-right: 1px solid var(--line); }

.addr-info-logo {
  display: block;
  max-width: 320px;
  margin: 0 0 28px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--line);
}
.addr-info-logo img {
  width: 100%;
  height: auto;
  display: block;
  /* Mezcla el fondo blanco del logo con el crema del contenedor */
  mix-blend-mode: multiply;
}
.addr-info h2 {
  font-family: var(--display);
  font-size: 28px; font-weight: 600;
  letter-spacing: -.018em;
  margin: 0 0 18px;
}
.addr-info .addr-detail { font-size: 16px; line-height: 1.65; color: var(--ink-2); margin: 0 0 28px; }
.addr-info .addr-detail strong { color: var(--ink); }
.info-row {
  display: flex; align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.info-row:first-of-type { padding-top: 0; border-top: 0; }
.info-row .ir-glyph {
  width: 36px; height: 36px;
  background: var(--brand-soft); color: var(--brand);
  display: grid; place-items: center; flex-shrink: 0;
}
.info-row .ir-label {
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
}
.info-row .ir-val {
  font-size: 15px; color: var(--ink); margin-top: 3px; line-height: 1.5;
}
.info-row .ir-val a { color: inherit; }
.info-row .ir-val a:hover { color: var(--brand); }

.addr-map { position: relative; min-height: 480px; }
.addr-map iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%; border: 0;
  filter: grayscale(.15) contrast(1.02);
}
.addr-map-pins {
  position: absolute;
  left: 16px; bottom: 16px; right: 16px;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.amp-pin {
  display: flex; gap: 12px; align-items: center;
  background: white;
  border-left: 3px solid var(--brand);
  padding: 10px 14px;
  box-shadow: 0 8px 20px rgba(15,42,51,.18);
  font-size: 13px;
  line-height: 1.35;
  max-width: 360px;
  pointer-events: auto;
}
.amp-pin.amp-pin-2 { border-left-color: var(--accent); }
.amp-num {
  font-size: 16px;
  flex-shrink: 0;
}
.amp-pin strong { display: block; color: var(--ink); font-family: var(--display); font-size: 13px; font-weight: 600; letter-spacing: -.005em; }
.amp-pin span { color: var(--ink-3); font-size: 12.5px; }

@media (max-width: 900px) {
  .addr-grid { grid-template-columns: 1fr; }
  .addr-info { border-right: 0; border-bottom: 1px solid var(--line); padding: 32px; }
  .addr-map { min-height: 360px; }
}

/* Exterior photo strip */
.exterior {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
}
.ext-photo {
  background: var(--paper-3);
  display: grid; place-items: center;
  min-height: 360px;
  position: relative;
  overflow: hidden;
}
.ext-photo-real { padding: 0; }
.ext-photo-real img {
  width: 100%; height: 100%;
  min-height: 360px;
  object-fit: cover;
  filter: saturate(.95) contrast(1.04);
  transition: transform .8s cubic-bezier(.2,.7,.2,1);
}
.ext-photo-real:hover img { transform: scale(1.03); }
.ext-photo::before, .ext-photo::after {
  content: ""; position: absolute;
  width: 28px; height: 28px;
}
.ext-photo::before { top: 14px; left: 14px; border-top: 1px solid var(--brand); border-left: 1px solid var(--brand); }
.ext-photo::after { bottom: 14px; right: 14px; border-bottom: 1px solid var(--brand); border-right: 1px solid var(--brand); }
.ext-photo .ph-icon {
  width: 56px; height: 56px;
  border: 1.5px dashed var(--brand);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--brand);
  margin-bottom: 16px;
}
.ext-photo .ph-text {
  font-family: var(--display);
  color: var(--ink-2);
  font-size: 14px;
  letter-spacing: .04em;
}
.ext-photo .ph-sub {
  font-size: 12px; color: var(--ink-3);
  margin-top: 6px;
  font-family: "JetBrains Mono", "SF Mono", monospace;
  letter-spacing: .02em;
}
.ext-side {
  padding: 36px;
  background: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 14px;
}
.ext-side .eyebrow { margin-bottom: 6px; }
.ext-side h3 { font-family: var(--display); font-size: 24px; font-weight: 600; letter-spacing: -.015em; }
.ext-side p { font-size: 14.5px; color: var(--ink-2); line-height: 1.65; margin: 0; }

@media (max-width: 800px) {
  .exterior { grid-template-columns: 1fr; }
}

/* Form section */
.form-section {
  padding: clamp(56px, 7vw, 96px) var(--pad-x);
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 5vw, 72px);
  max-width: var(--maxw);
  margin: 0 auto;
}
.form-intro { position: sticky; top: 220px; align-self: start; }
.form-intro h2 {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 600; letter-spacing: -.025em;
  line-height: 1.1;
  margin: 14px 0 18px;
}
.form-intro p { font-size: 15px; color: var(--ink-2); line-height: 1.7; margin: 0 0 18px; max-width: 36ch; }
.form-intro .tip {
  margin-top: 20px;
  padding: 18px;
  background: white;
  border-left: 3px solid var(--brand);
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.6;
}
.form-intro .tip strong { color: var(--ink); }

.form-card {
  background: white;
  border: 1px solid var(--line);
  padding: 40px;
}
.form-card h3 { font-family: var(--display); font-size: 22px; font-weight: 600; margin: 0 0 6px; letter-spacing: -.015em; }
.form-card .form-sub { font-size: 13.5px; color: var(--ink-3); margin: 0 0 28px; }

.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.fld label {
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.fld .req { color: var(--brand); }
.fld input, .fld select, .fld textarea {
  width: 100%; padding: 13px 14px;
  font-family: var(--sans); font-size: 15px;
  border: 1px solid var(--line); background: white;
  border-radius: 2px; outline: none;
  transition: border-color .15s, box-shadow .15s;
  color: var(--ink);
}
.fld input:focus, .fld select:focus, .fld textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(29,78,95,.08);
}
.fld textarea { min-height: 130px; resize: vertical; font-family: var(--sans); }
.fld.err input, .fld.err select, .fld.err textarea { border-color: #a13a3a; }
.fld-err {
  font-size: 12.5px; color: #a13a3a; margin-top: 4px;
  display: flex; align-items: center; gap: 6px;
}

.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .fld-row { grid-template-columns: 1fr; } }

.consent {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 16px;
  background: var(--paper-2);
  border: 1px solid var(--line);
  margin: 22px 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-2);
  cursor: pointer;
}
.consent input[type=checkbox] {
  margin-top: 3px;
  accent-color: var(--brand);
  width: 18px; height: 18px;
  flex-shrink: 0;
}
.consent.err { border-color: #a13a3a; background: #fbf2f2; }
.consent a { color: var(--brand); text-decoration: underline; }

.submit-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  padding-top: 8px;
}
.submit-row .sr-note {
  font-size: 12px; color: var(--ink-3);
  max-width: 28ch;
  line-height: 1.5;
}

.btn--wa {
  background: #25d366;
  color: white;
  border-color: #25d366;
}
.btn--wa:hover { background: #1ea954; border-color: #1ea954; color: white; }
.btn--wa[disabled] { opacity: .6; cursor: not-allowed; }

.btn[disabled] { opacity: .6; cursor: not-allowed; }

.spinner {
  display: inline-block;
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: white;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: -2px;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-send-err {
  margin-top: 16px;
  padding: 14px 18px;
  background: #fbf2f2;
  border-left: 3px solid #a13a3a;
  color: #6b2929;
  font-size: 14px;
  line-height: 1.55;
}
.form-send-err strong { color: #5a1f1f; font-weight: 600; }

/* Confirmation */
.confirmation {
  background: white;
  border: 1px solid var(--line);
  padding: 48px;
  text-align: center;
}
.confirmation .check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #d4eedd;
  color: #1c7a48;
  display: grid; place-items: center;
  margin: 0 auto 22px;
}
.confirmation h3 {
  font-family: var(--display);
  font-size: 28px; font-weight: 600;
  letter-spacing: -.02em;
  margin: 0 0 12px;
}
.confirmation p {
  font-size: 15px; color: var(--ink-2);
  line-height: 1.65;
  max-width: 46ch;
  margin: 0 auto 14px;
}
.confirmation .recap {
  margin: 28px auto 0;
  max-width: 480px;
  text-align: left;
  background: var(--paper-2);
  border: 1px solid var(--line);
  padding: 22px;
}
.confirmation .recap dt {
  font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 600;
  margin-bottom: 4px;
}
.confirmation .recap dd { margin: 0 0 14px; font-size: 14.5px; color: var(--ink); line-height: 1.5; }
.confirmation .recap dd:last-child { margin-bottom: 0; }
.confirmation .recap-actions { margin-top: 28px; display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

/* Hours / closing strip */
.hours-strip {
  padding: clamp(56px, 7vw, 88px) var(--pad-x);
}
.hours-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 24px;
}
.hours-card {
  border: 1px solid var(--line);
  padding: 28px;
  background: white;
}
.hours-card h4 {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
  margin: 0 0 14px;
}
.hours-card .hrs-day {
  display: flex; justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 15px;
}
.hours-card .hrs-day:last-child { border-bottom: 0; }
.hours-card .hrs-day .d { color: var(--ink-2); }
.hours-card .hrs-day .h { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }
.hours-card.feature { background: var(--ink); color: white; border-color: var(--ink); }
.hours-card.feature h4 { color: rgba(255,255,255,.55); }
.hours-card.feature .hrs-day { border-bottom-color: #234c58; }
.hours-card.feature .hrs-day .d { color: rgba(255,255,255,.75); }
.hours-card.feature .hrs-day .h { color: white; }
.hours-card.feature .hrs-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.65); line-height: 1.6; }

@media (max-width: 800px) {
  .hours-grid { grid-template-columns: 1fr; }
}


/* === Redes sociales en página Contacto ============================== */
.socials-block {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.socials-block .eyebrow { margin-bottom: 8px; }
.socials-intro {
  font-size: 14px;
  color: var(--ink-3);
  margin: 0 0 18px;
  line-height: 1.6;
  max-width: 38ch;
}
.socials-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.social-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.social-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(15,42,51,.08);
}
.social-card .sc-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  color: white;
}
.social-card .sc-text strong {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  letter-spacing: -.005em;
  line-height: 1.2;
}
.social-card .sc-text span {
  font-size: 12.5px;
  color: var(--ink-3);
}

/* Facebook */
.social-card.social-fb .sc-icon { background: #1877F2; }
.social-card.social-fb:hover { border-color: #1877F2; }

/* Instagram — gradiente oficial */
.social-card.social-ig .sc-icon {
  background: linear-gradient(45deg, #F09433 0%, #E6683C 25%, #DC2743 50%, #CC2366 75%, #BC1888 100%);
}
.social-card.social-ig:hover { border-color: #DC2743; }

/* LinkedIn */
.social-card.social-li .sc-icon { background: #0A66C2; }
.social-card.social-li:hover { border-color: #0A66C2; }

/* X (Twitter) */
.social-card.social-x .sc-icon { background: #000000; }
.social-card.social-x:hover { border-color: #000000; }

@media (max-width: 540px) {
  .socials-row { grid-template-columns: 1fr; }
}
