/* ============================================================
   재송컴마트 — Blueprint × Letterpress
   Since 2004 — 22년차 동네 터줏대감
============================================================ */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: #1a2233;
  background: #f4f1ea;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }

/* ====== 우측변 floating CTA — 드론파트너스 패턴 (전 사이즈 노출) ====== */
.m-side-cta {
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
  position: fixed;
  right: 14px;
  top: calc(50% + 40px);
  z-index: 120;
  pointer-events: auto;
}
.m-side-cta__btn {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #1a2233; color: #fff;
  box-shadow: 0 6px 18px rgba(20,30,55,0.28), 0 0 0 2px rgba(255,255,255,0.6);
  transition: transform .2s, box-shadow .2s;
  text-decoration: none;
}
.m-side-cta__btn svg { width: 22px; height: 22px; display: block; }
.m-side-cta__btn span {
  font-size: 9px; font-weight: 800;
  margin-top: 2px; letter-spacing: 0.02em;
  line-height: 1;
}
.m-side-cta__btn:hover { transform: translateY(-2px) scale(1.04); box-shadow: 0 10px 24px rgba(20,30,55,0.32); }
.m-side-cta__btn:active { transform: scale(0.95); }
.m-side-cta__btn--call { background: #16a34a; }
.m-side-cta__btn--chat { background: #FEE500; color: #181600; }
@media (max-width: 480px) {
  .m-side-cta { right: 8px; gap: 8px; top: calc(50% + 50px); }
  .m-side-cta__btn { width: 50px; height: 50px; }
  .m-side-cta__btn svg { width: 20px; height: 20px; }
  .m-side-cta__btn span { font-size: 8.5px; }
}

/* ====== 자료실 미니 게시판 (Browser-in-Browser) ====== */
.m-side-board { position: relative; }
.m-side-board__icon {
  width: 56px; height: 56px;
  border: none;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(20,30,55,0.28), 0 0 0 2px rgba(255,255,255,0.6);
  transition: transform .2s, box-shadow .2s, background .2s;
  font-family: inherit;
  position: relative;
}
.m-side-board__icon::after {
  content: '';
  position: absolute; top: 6px; right: 6px;
  width: 8px; height: 8px;
  background: #ef4444;
  border: 2px solid #fff;
  border-radius: 50%;
  animation: boardPing 2.4s ease-in-out infinite;
}
@keyframes boardPing {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.85; }
}
.m-side-board__icon svg { width: 22px; height: 22px; display: block; }
.m-side-board__icon span {
  font-size: 9px; font-weight: 800;
  margin-top: 2px; letter-spacing: 0.02em;
  line-height: 1;
}
.m-side-board__icon:hover { transform: translateY(-2px) scale(1.04); background: #1d4ed8; }
.m-side-board__icon:active { transform: scale(0.95); }

.m-side-board__panel {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%) scale(0.85);
  width: 260px;
  background: #f3f4f6;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(15,23,42,0.32), 0 4px 12px rgba(15,23,42,0.18);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  font-family: 'Pretendard', sans-serif;
}
.m-side-board__panel[data-open="true"] {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  pointer-events: auto;
}
.m-side-board__panel::after {
  content: '';
  position: absolute;
  right: -8px; top: 50%;
  transform: translateY(-50%);
  border-width: 8px 0 8px 8px;
  border-style: solid;
  border-color: transparent transparent transparent #f3f4f6;
}
.m-side-board__bar {
  display: flex; align-items: center; gap: 8px;
  padding: 7px 10px;
  background: linear-gradient(180deg, #e2e8f0 0%, #cbd5e1 100%);
  border-bottom: 1px solid #94a3b8;
}
.m-side-board__dots { display: flex; gap: 4px; }
.m-side-board__dots i {
  width: 10px; height: 10px; border-radius: 50%;
  display: block;
}
.m-side-board__dots i:nth-child(1) { background: #ef4444; }
.m-side-board__dots i:nth-child(2) { background: #f59e0b; }
.m-side-board__dots i:nth-child(3) { background: #22c55e; }
.m-side-board__url {
  flex: 1;
  font-size: 11px;
  background: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  color: #475569;
  border: 1px solid #cbd5e1;
  text-align: center;
  font-family: ui-monospace, monospace;
}
.m-side-board__close {
  border: none; background: none; cursor: pointer;
  font-size: 18px; line-height: 1;
  color: #475569;
  padding: 0 4px;
}
.m-side-board__close:hover { color: #0f172a; }
.m-side-board__body {
  background: #fff;
  padding: 14px 14px 12px;
}
.m-side-board__title {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #cbd5e1;
}
.m-side-board__list {
  list-style: none; padding: 0; margin: 0 0 12px;
  display: flex; flex-direction: column; gap: 6px;
}
.m-side-board__list li {
  font-size: 12px;
  color: #334155;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background .15s;
}
.m-side-board__list li:hover {
  background: #f1f5f9;
}
.m-side-board__cta {
  display: block;
  text-align: center;
  background: #2563eb;
  color: #fff;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  transition: background .15s;
}
.m-side-board__cta:hover { background: #1d4ed8; }

@media (max-width: 480px) {
  .m-side-board__icon { width: 50px; height: 50px; border-radius: 10px; }
  .m-side-board__icon svg { width: 20px; height: 20px; }
  .m-side-board__icon span { font-size: 8.5px; }
  .m-side-board__panel {
    right: auto;
    left: calc(100% + 10px);
    width: 220px;
  }
  .m-side-board__panel::after {
    right: auto; left: -8px;
    border-width: 8px 8px 8px 0;
    border-color: transparent #f3f4f6 transparent transparent;
  }
}

/* 안전망: JS가 안 도는 환경에서도 항상 보이게 */
.tl-item, .paper, .ts-cell { opacity: 1 !important; transform: none !important; }

/* Blueprint grid */
.bp-bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(20,40,80,0.05) 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(to bottom, rgba(20,40,80,0.05) 1px, transparent 1px) 0 0/40px 40px,
    linear-gradient(to right, rgba(20,40,80,0.10) 1px, transparent 1px) 0 0/200px 200px,
    linear-gradient(to bottom, rgba(20,40,80,0.10) 1px, transparent 1px) 0 0/200px 200px,
    #f4f1ea;
}

/* ====== NAV ====== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244,241,234,0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(20,40,80,0.15);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
}
.logo {
  font-weight: 900; font-size: 22px; letter-spacing: -0.02em;
  font-family: 'Gowun Batang', 'Pretendard', serif;
}
.logo span { color: #c0392b; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-weight: 600; font-size: 15px; opacity: 0.78; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }
.btn-call {
  background: #1a2233; color: #fff;
  padding: 10px 18px; border-radius: 999px;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn-call:hover { background: #c0392b; }
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-inner { padding: 12px 16px; }
  .logo { font-size: 19px; }
  .btn-call { padding: 8px 14px; font-size: 13px; }
}

/* ====== HERO ====== */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: grayscale(0.3) contrast(1.05);
  transform: scale(1.05);
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,30,55,0.72) 0%, rgba(20,30,55,0.92) 100%),
    radial-gradient(circle at 30% 30%, rgba(192,57,43,0.18), transparent 50%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1100px; padding: 60px 24px;
  text-align: center; color: #f4f1ea;
  word-break: keep-all;
}
.stamp {
  display: inline-block;
  font-family: 'Gowun Batang', serif; font-weight: 800;
  letter-spacing: 0.4em; font-size: 13px;
  padding: 8px 18px;
  border: 2px solid #f4f1ea;
  margin-bottom: 28px;
  transform: rotate(-2deg);
  background: rgba(192,57,43,0.85);
}
.hero-copy {
  font-family: 'Black Han Sans', 'Pretendard', sans-serif;
  font-weight: 400; letter-spacing: -0.02em;
  font-size: clamp(28px, 4.6vw, 54px);
  line-height: 1.3;
  margin: 0 0 24px;
  text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
@media (max-width: 480px) {
  .hero-copy { font-size: 24px; line-height: 1.35; }
  .hero-copy em.still { font-size: 1.6em; }
}
.hero-copy em {
  font-style: normal;
  background: linear-gradient(180deg, transparent 60%, #c0392b 60%);
  padding: 0 6px;
}
.hero-copy em.still {
  display: inline-block;
  font-family: 'Black Han Sans', sans-serif;
  font-size: 1.45em;
  font-weight: 400;
  color: #ffd54a;
  background: none;
  padding: 0;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 0 #8b1d12, 0 8px 24px rgba(0,0,0,0.5);
  transform: rotate(-2deg);
  margin-bottom: 8px;
}
.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  line-height: 1.7; opacity: 0.9;
  margin: 0 0 40px;
}

/* trust button + reveal */
.trust-row {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; margin: 0 0 40px;
  flex-wrap: wrap;
}
@media (max-width: 540px) {
  .trust-row { gap: 12px; }
  .trust-card { width: 100px; height: 100px; }
  .trust-btn { width: 76px; height: 76px; font-size: 18px; }
  .trust-reveal { width: 100%; justify-content: center; margin-top: 8px; }
}
.trust-card {
  width: 140px; height: 140px;
  margin: 0; border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  transform: rotate(-3deg);
}
.trust-card img { width: 100%; height: 100%; object-fit: cover; }
.trust-btn {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #d04736, #8b1d12);
  color: #fff;
  font-family: 'Gowun Batang', serif;
  font-weight: 900; font-size: 22px;
  letter-spacing: 0.1em;
  line-height: 1;
  box-shadow:
    0 0 0 4px #f4f1ea,
    0 0 0 6px #c0392b,
    0 12px 30px rgba(0,0,0,0.4);
  transition: transform .25s ease;
  position: relative;
}
.trust-btn::after {
  content: ''; position: absolute; inset: -14px;
  border-radius: 50%;
  border: 2px dashed rgba(255,255,255,0.5);
  animation: spin 18s linear infinite;
}
.trust-btn:hover { transform: scale(1.06) rotate(5deg); animation: none; }
.trust-btn .seal { display: inline-block; transform: translateY(2px); }
.trust-btn { animation: wiggle 2.4s ease-in-out infinite; }
.trust-btn.is-poked { animation: pop 0.45s ease; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wiggle {
  0%, 70%, 100% { transform: rotate(0); }
  74% { transform: rotate(-8deg) scale(1.04); }
  78% { transform: rotate(7deg) scale(1.05); }
  82% { transform: rotate(-5deg) scale(1.04); }
  86% { transform: rotate(4deg) scale(1.03); }
  90% { transform: rotate(-2deg); }
}
@keyframes pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18) rotate(-6deg); }
  100% { transform: scale(1) rotate(0); }
}

.trust-reveal {
  display: flex; align-items: center; gap: 10px;
  opacity: 0; transform: translateX(-20px) scale(0.9);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.9,.3,1.4);
  pointer-events: none;
  font-family: 'Gowun Batang', serif;
}
.trust-reveal.is-on {
  opacity: 1; transform: translateX(0) scale(1);
}
.reveal-text {
  display: inline-block;
  max-width: 100%;
  font-family: 'Gaegu', 'Gowun Batang', cursive;
  font-size: clamp(24px, 3.6vw, 38px);
  font-weight: 700;
  color: #ffd54a;
  text-shadow: 0 4px 0 #8b1d12, 0 8px 24px rgba(0,0,0,0.5);
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: normal;
  word-break: keep-all;
  transition: opacity .25s, transform .35s cubic-bezier(.2,.9,.3,1.4);
}
.reveal-text.is-flip {
  opacity: 0;
  transform: translateY(-10px) scale(0.85);
}

.hero-cta {
  display: flex; gap: 12px; justify-content: center;
  flex-wrap: wrap;
}
.btn-primary, .btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: 15px;
  transition: transform .2s, background .2s;
}
.btn-primary {
  background: #c0392b; color: #fff;
  box-shadow: 0 6px 20px rgba(192,57,43,0.4);
}
.btn-primary:hover { transform: translateY(-2px); background: #d04736; }
.btn-ghost {
  background: transparent; color: #f4f1ea;
  border: 1.5px solid rgba(244,241,234,0.6);
}
.btn-ghost:hover { background: rgba(244,241,234,0.15); }

.hero-scroll {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: rgba(244,241,234,0.7);
  font-size: 13px; letter-spacing: 0.1em;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0);} 50% { transform: translateX(-50%) translateY(6px);} }

/* ====== SECTION HEAD ====== */
.sec-head {
  max-width: 1100px; margin: 0 auto;
  padding: 100px 24px 40px; text-align: center;
}
.sec-tag {
  font-size: 13px; letter-spacing: 0.4em; font-weight: 700;
  color: #c0392b; display: block; margin-bottom: 14px;
}
.sec-head h2 {
  font-family: 'Black Han Sans', 'Pretendard', sans-serif;
  font-weight: 400; font-size: clamp(28px, 4.2vw, 46px);
  line-height: 1.35; margin: 0 0 18px;
  letter-spacing: -0.015em;
}
.exclaim { color: #c0392b; }
.sec-lead { font-size: 16px; color: #4a5568; margin: 0; line-height: 1.7; word-break: keep-all; }

/* ====== TIMELINE ====== */
.history { position: relative; padding-bottom: 100px; }
.timeline {
  list-style: none; padding: 0; margin: 0 auto;
  max-width: 880px; padding-inline: 24px;
  position: relative;
}
.timeline::before {
  content: ''; position: absolute;
  left: 80px; top: 0; bottom: 0;
  width: 2px;
  background: repeating-linear-gradient(
    to bottom,
    #1a2233 0 6px, transparent 6px 14px
  );
}
.tl-item {
  position: relative;
  display: grid; grid-template-columns: 100px 1fr;
  gap: 30px;
  padding: 20px 0;
}
.tl-year {
  font-family: 'Gowun Batang', serif;
  font-weight: 900; font-size: 28px;
  color: #c0392b;
  position: relative;
}
.tl-year::after {
  content: ''; position: absolute;
  right: -30px; top: 14px;
  width: 14px; height: 14px;
  background: #c0392b; border-radius: 50%;
  border: 3px solid #f4f1ea;
  box-shadow: 0 0 0 2px #c0392b;
}
.tl-item.is-now .tl-year::after {
  background: #ffd54a;
  box-shadow: 0 0 0 2px #c0392b, 0 0 20px rgba(255,213,74,0.8);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1);} 50% { transform: scale(1.3);} }
.tl-body {
  background: #fff;
  border: 1px solid rgba(20,40,80,0.15);
  border-left: 4px solid #c0392b;
  padding: 20px 24px;
  border-radius: 4px;
  box-shadow: 0 6px 20px rgba(20,30,55,0.06);
}
.tl-body h3 {
  margin: 0 0 8px; font-size: 19px;
  font-family: 'Gowun Batang', serif;
  font-weight: 800;
}
.tl-body p { margin: 0; line-height: 1.7; color: #4a5568; font-size: 15px; }
@media (max-width: 600px) {
  .tl-item { grid-template-columns: 70px 1fr; gap: 20px; }
  .timeline::before { left: 56px; }
  .tl-year { font-size: 22px; }
  .tl-year::after { right: -20px; width: 12px; height: 12px; }
}

/* ====== SERVICES (paper unfold) ====== */
.services { padding-bottom: 100px; }
.paper-stack {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.paper {
  position: relative;
  min-height: 340px;
  perspective: 1200px;
  cursor: pointer;
}
@media (max-width: 540px) {
  .paper { min-height: 280px; }
}
.paper-front, .paper-back {
  position: absolute; inset: 0;
  background: #fffaf0;
  border: 1px solid rgba(20,40,80,0.18);
  border-radius: 6px;
  padding: 28px 24px;
  box-shadow:
    0 4px 0 rgba(20,30,55,0.05),
    0 12px 30px rgba(20,30,55,0.08);
  transition: transform .65s cubic-bezier(.7,0,.3,1);
  backface-visibility: hidden;
  background-image:
    linear-gradient(to bottom, rgba(192,57,43,0.04) 0 1px, transparent 1px),
    repeating-linear-gradient(transparent 0 28px, rgba(20,40,80,0.06) 28px 29px);
  transform-origin: left center;
}
.paper-front {
  display: flex; flex-direction: column;
  z-index: 2;
}
.paper-back {
  transform: rotateY(180deg);
  z-index: 1;
}
.paper.is-open .paper-front { transform: rotateY(-180deg); }
.paper.is-open .paper-back { transform: rotateY(0); z-index: 3; }

.paper-no {
  font-family: 'Gowun Batang', serif;
  font-size: 56px; font-weight: 900;
  color: #c0392b; opacity: 0.25;
  line-height: 1; margin-bottom: 8px;
}
.paper-front h3 {
  font-family: 'Gowun Batang', serif;
  font-size: 24px; font-weight: 800;
  margin: 0 0 12px; letter-spacing: -0.02em;
}
.paper-tease { color: #4a5568; line-height: 1.6; flex: 1; margin: 0; }
.paper-fold {
  display: inline-block; margin-top: 16px;
  font-size: 13px; font-weight: 700;
  color: #c0392b; letter-spacing: 0.05em;
  border-top: 1px dashed rgba(192,57,43,0.4);
  padding-top: 12px;
}
.paper-back h4 {
  margin: 0 0 14px;
  font-family: 'Gowun Batang', serif;
  font-size: 17px; font-weight: 800;
  color: #c0392b;
}
.paper-back ul {
  margin: 0 0 14px; padding-left: 18px;
}
.paper-back ul li {
  font-size: 14px; line-height: 1.7;
  color: #2d3748; margin-bottom: 4px;
}
.paper-foot {
  font-size: 13px; color: #718096;
  border-top: 1px dashed rgba(20,40,80,0.2);
  padding-top: 10px; margin: 0;
  font-style: italic;
}

/* 06번 긴급 카드 — 강조 */
.paper--urgent .paper-front {
  background: linear-gradient(180deg, #fff8e1 0%, #fffaf0 100%);
  border-color: #c0392b;
  box-shadow:
    0 4px 0 rgba(192,57,43,0.15),
    0 12px 30px rgba(192,57,43,0.18);
}
.paper--urgent .paper-no { color: #c0392b; opacity: 0.5; }
.paper--urgent h3 { color: #8b1d12; }
.urgent-badge {
  position: absolute; top: 18px; right: 18px;
  background: #c0392b; color: #fff;
  font-family: 'Black Han Sans', sans-serif;
  font-size: 14px; letter-spacing: 0.1em;
  padding: 6px 12px; border-radius: 4px;
  transform: rotate(6deg);
  box-shadow: 0 4px 12px rgba(192,57,43,0.4);
  animation: badgePulse 1.6s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { transform: rotate(6deg) scale(1); }
  50% { transform: rotate(6deg) scale(1.08); }
}

/* ====== TRUST STRIP ====== */
.trust-strip {
  background: #1a2233; color: #f4f1ea;
  padding: 50px 24px;
  margin: 0 0 100px;
}
.ts-row {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; text-align: center;
}
@media (max-width: 720px) {
  .ts-row { grid-template-columns: 1fr 1fr; gap: 24px; }
}
.ts-cell b {
  display: block;
  font-family: 'Gowun Batang', serif;
  font-weight: 900; font-size: 44px;
  color: #ffd54a; line-height: 1;
  margin-bottom: 8px;
}
.ts-cell span {
  font-size: 14px; opacity: 0.75;
  letter-spacing: 0.05em;
}

/* ====== CONTACT ====== */
.contact { padding-bottom: 100px; }
.contact-grid {
  max-width: 1100px; margin: 0 auto;
  padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.contact-info dl {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 16px 20px; margin: 0 0 24px;
}
.contact-info dt {
  font-weight: 800; color: #c0392b;
  font-family: 'Gowun Batang', serif;
  font-size: 15px;
}
.contact-info dd {
  margin: 0; line-height: 1.7; color: #2d3748;
}
.contact-info dd small { color: #718096; font-size: 13px; }
.contact-info dd a { color: #1a2233; font-weight: 700; border-bottom: 2px solid #c0392b; }
.contact-cta {
  display: flex; gap: 12px; flex-wrap: wrap;
}
.contact-cta .btn-primary { color: #fff; }
.contact-cta .btn-ghost {
  color: #1a2233; border-color: rgba(20,30,55,0.3);
}
.contact-photo {
  margin: 0; position: relative;
}
.contact-photo img {
  width: 100%; border-radius: 6px;
  box-shadow: 0 20px 50px rgba(20,30,55,0.15);
  transform: rotate(-1deg);
}
.contact-photo figcaption {
  text-align: center; margin-top: 12px;
  font-size: 13px; color: #718096;
  font-style: italic;
}
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ====== FOOTER ====== */
.foot {
  background: #1a2233; color: #a0aec0;
  padding: 30px 24px; font-size: 13px;
}
.foot-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 16px; line-height: 1.7;
}
.foot b { color: #f4f1ea; }
.foot a { color: #ffd54a; border-bottom: 1px solid rgba(255,213,74,0.4); }
