/* ── KTI City Page Styles ── */
/* Brand tokens: --navy #1C2B3A, --teal #2A7F74 */
/* Fonts: Playfair Display (headings), DM Sans (body) — loaded in each city page <head> */

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

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  color: #1C2B3A;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
em { font-style: italic; color: #2A7F74; }

/* ── Nav ── */
.cp-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,250,247,0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 64px;
  border-bottom: 1px solid #e8e4de;
}

.cp-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.cp-kti {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #1C2B3A;
  letter-spacing: 0.04em;
}

.cp-divider {
  width: 1px;
  height: 18px;
  background: #e8e4de;
}

.cp-full-name {
  font-size: 0.82rem;
  font-weight: 400;
  color: #8a9aa8;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.cp-nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.cp-nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  color: #4a5c6a;
  transition: color 0.2s;
}

.cp-nav-links a:hover { color: #1C2B3A; }

.cp-nav-cta {
  background: #1C2B3A;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.2s !important;
}

.cp-nav-cta:hover { background: #2A7F74 !important; }

@media (max-width: 720px) {
  .cp-nav { padding: 0 20px; }
  .cp-nav-links { display: none; }
  .cp-full-name { display: none; }
}

/* ── Hero ── */
.cp-hero {
  position: relative;
  background: #1C2B3A;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  overflow: hidden;
}

.cp-hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42,127,116,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,127,116,0.07) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  pointer-events: none;
}

/* Two-column hero layout */
.cp-hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 5% 80px 6%;
  position: relative;
  z-index: 2;
  min-width: 0;
}

.cp-hero-right {
  background: rgba(0,0,0,0.15);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  overflow: hidden;
  min-width: 0;
}

/* Legacy single-column support (unused but kept for safety) */
.cp-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.cp-eyebrow {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #2A7F74;
  margin-bottom: 20px;
}

.cp-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 24px;
}

.cp-hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 0 36px;
}

.cp-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.cp-btn-primary {
  background: #2A7F74;
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.2s;
}

.cp-btn-primary:hover { background: #236b61; }


.cp-btn-secondary {
  background: transparent;
  color: rgba(255,255,255,0.85);
  padding: 13px 28px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 400;
  border: 1px solid rgba(255,255,255,0.25);
  transition: border-color 0.2s, color 0.2s;
}

.cp-btn-secondary:hover { border-color: rgba(255,255,255,0.6); color: #fff; }

/* ── Hero Carousel ── */
.cp-hero-carousel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.cp-hc-stage {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cp-hc-window {
  width: 420px;
  max-width: calc(100% - 20px);
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.45);
}

.cp-hc-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.cp-hc-slide {
  flex-shrink: 0;
  width: 420px;
}

.cp-hc-arrow {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 50%;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  backdrop-filter: blur(4px);
  line-height: 1;
  padding: 0;
}

.cp-hc-arrow:hover { background: rgba(255,255,255,0.28); }

.cp-hc-indicators {
  display: flex;
  gap: 8px;
  align-items: center;
}

.cp-hc-dot {
  height: 6px;
  border-radius: 3px;
  width: 6px;
  background: rgba(255,255,255,0.3);
  transition: background 0.3s, width 0.3s;
  cursor: pointer;
}

.cp-hc-dot.active { background: #fff; width: 20px; }

.cp-hc-bar {
  background: #2A3441;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.cp-hc-dots {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.cp-hc-dots span { width: 7px; height: 7px; border-radius: 50%; }
.cp-hc-dots span:nth-child(1) { background: #FF5F57; }
.cp-hc-dots span:nth-child(2) { background: #FFBD2E; }
.cp-hc-dots span:nth-child(3) { background: #28C840; }

.cp-hc-url {
  flex: 1;
  background: #1C2B3A;
  border-radius: 3px;
  padding: 3px 7px;
  font-size: 0.58rem;
  color: rgba(255,255,255,0.35);
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cp-hc-preview-link { display: block; text-decoration: none; }

.cp-hc-preview {
  height: 420px;
  overflow: hidden;
  position: relative;
}

.cp-hc-screenshot {
  width: 100%;
  max-width: 100%;
  display: block;
  transform: translateY(0);
  transition: transform 12s ease-in-out;
}

@media (max-width: 900px) {
  .cp-hero {
    grid-template-columns: 1fr;
  }
  .cp-hero-left {
    padding: 56px 24px 40px;
    text-align: center;
    align-items: center;
  }
  .cp-hero-sub { margin: 0 auto 36px; }
  .cp-hero-actions { justify-content: center; }
  .cp-hero-right {
    padding: 0 0 48px;
    background: transparent;
  }
  .cp-hc-window { width: calc(100vw - 120px); max-width: 420px; }
  .cp-hc-slide { width: calc(100vw - 120px); max-width: 420px; }
  .cp-hc-preview { height: 340px; }
}

/* ── Trust Bar ── */
.cp-trust-bar {
  background: #f4f6f7;
  border-bottom: 1px solid #e8eaec;
  display: flex;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.cp-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1C2B3A;
  border-right: 1px solid #e0e3e5;
}

.cp-trust-item:last-child { border-right: none; }

.cp-trust-icon { font-size: 1rem; }

@media (max-width: 720px) {
  .cp-trust-item { padding: 12px 20px; border-right: none; border-bottom: 1px solid #e0e3e5; width: 50%; justify-content: center; }
}

/* ── Sections ── */
.cp-section {
  padding: 72px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.cp-section-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2A7F74;
  margin-bottom: 12px;
}

.cp-section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #1C2B3A;
  line-height: 1.25;
  margin-bottom: 16px;
}

.cp-section-sub {
  font-size: 1rem;
  color: #5a6a78;
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 48px;
}

@media (max-width: 600px) {
  .cp-section { padding: 48px 24px; }
}

/* ── Pricing ── */
.cp-pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.cp-pricing-card {
  border: 1px solid #e2e6ea;
  border-radius: 14px;
  padding: 36px 32px;
  background: #fff;
}

.cp-pricing-card.cp-featured {
  border-color: #2A7F74;
  box-shadow: 0 4px 24px rgba(42,127,116,0.12);
}

.cp-plan-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.cp-plan-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1C2B3A;
  margin-bottom: 6px;
}

.cp-plan-badge {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #2A7F74;
  color: #fff;
  padding: 3px 9px;
  border-radius: 20px;
}

.cp-plan-price {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  font-weight: 700;
  color: #1C2B3A;
  margin: 10px 0 4px;
}

.cp-plan-period {
  font-size: 0.82rem;
  color: #7a8a98;
  margin-bottom: 16px;
}

.cp-plan-desc {
  font-size: 0.92rem;
  color: #5a6a78;
  line-height: 1.6;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eef0f2;
}

.cp-feat-list {
  list-style: none;
  margin-bottom: 28px;
}

.cp-feat-list li {
  font-size: 0.9rem;
  color: #2e3f4f;
  padding: 6px 0;
  padding-left: 18px;
  position: relative;
}

.cp-feat-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #2A7F74;
  font-weight: 600;
  font-size: 0.8rem;
}

.cp-plan-cta {
  display: inline-block;
  width: 100%;
  text-align: center;
  background: #1C2B3A;
  color: #fff;
  padding: 13px 20px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.2s;
}

.cp-pricing-card.cp-featured .cp-plan-cta {
  background: #2A7F74;
}

.cp-plan-cta:hover { background: #2A7F74; }
.cp-pricing-card.cp-featured .cp-plan-cta:hover { background: #236b61; }

/* ── Why Local ── */
.cp-local-section {
  background: #1C2B3A;
  padding: 72px 40px;
}

.cp-local-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.cp-local-section .cp-section-label { color: rgba(255,255,255,0.5); }
.cp-local-section .cp-section-title { color: #fff; margin-bottom: 40px; }

.cp-local-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 760px) {
  .cp-local-grid { grid-template-columns: 1fr; }
  .cp-local-section { padding: 48px 24px; }
}

.cp-local-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 28px 24px;
}

.cp-local-icon { font-size: 1.6rem; margin-bottom: 12px; }

.cp-local-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
}

.cp-local-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* ── Industries ── */
.cp-industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cp-industry-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid #d8dde2;
  border-radius: 40px;
  font-size: 0.88rem;
  font-weight: 400;
  color: #2e3f4f;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
}

.cp-industry-pill:hover {
  border-color: #2A7F74;
  background: #f0f9f8;
}

/* ── Contact ── */
.cp-contact-section {
  background: #1C2B3A;
  padding: 72px 40px;
  text-align: center;
}

.cp-contact-section .cp-section-label { color: rgba(255,255,255,0.5); }
.cp-contact-section .cp-section-title { color: #fff; margin: 0 auto 12px; }
.cp-contact-section .cp-section-sub { color: rgba(255,255,255,0.6); margin: 0 auto 40px; }

.cp-contact-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  padding: 40px 40px 32px;
  text-align: left;
}

.cp-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cp-contact-form input,
.cp-contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d8dde2;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.92rem;
  color: #1C2B3A;
  background: #fff;
  transition: border-color 0.2s;
  outline: none;
}

.cp-contact-form input:focus,
.cp-contact-form textarea:focus { border-color: #2A7F74; }

.cp-contact-form textarea { min-height: 110px; resize: vertical; }

.cp-contact-form button {
  width: 100%;
  padding: 14px;
  background: #2A7F74;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.cp-contact-form button:hover { background: #236b61; }

.cp-contact-detail {
  font-size: 0.82rem;
  color: #7a8a98;
  text-align: center;
  margin-top: 18px;
}

.cp-contact-detail a { color: #2A7F74; }

@media (max-width: 600px) {
  .cp-contact-section { padding: 48px 24px; }
  .cp-contact-card { padding: 28px 20px 24px; }
}

/* ── Footer ── */
.cp-footer {
  background: #111d28;
  padding: 56px 40px 32px;
}

.cp-footer-top {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

@media (max-width: 760px) {
  .cp-footer-top { grid-template-columns: 1fr 1fr; }
  .cp-footer-brand { grid-column: 1 / -1; }
  .cp-footer { padding: 40px 24px 24px; }
}

.cp-footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2A7F74;
  margin-bottom: 12px;
}

.cp-footer-bio {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
  max-width: 280px;
}

.cp-footer-col-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.cp-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cp-footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.cp-footer-links a:hover { color: #fff; }

.cp-footer-bottom {
  max-width: 1100px;
  margin: 32px auto 0;
}

.cp-footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

.cp-footer-bottom a { color: rgba(255,255,255,0.45); }
