/* =============================================
   LOOPLN — contact.css
   ============================================= */

/* =============================================
   CONTACT HERO
   ============================================= */

.ct-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--white);
  padding: calc(var(--nav-h) + 60px) 44px 100px;
}

/* Dot grid */
.ct-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0,0,0,0.13) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Lime wave bottom */
.ct-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 180px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,90 C280,160 560,30 840,100 C1060,150 1280,50 1440,80' fill='none' stroke='%23c8f135' stroke-width='1.2' opacity='0.45'/%3E%3Cpath d='M0,140 C320,100 640,160 960,120 C1140,98 1320,145 1440,115' fill='none' stroke='%23c8f135' stroke-width='0.7' opacity='0.28'/%3E%3C/svg%3E") no-repeat bottom center / 100%;
  pointer-events: none;
  z-index: 1;
}

.ct-hero-noise {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
}

.ct-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
}

.ct-hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.ct-hero-headline {
  font-family: var(--font-display);
  font-size: clamp(52px, 8.5vw, 112px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--black);
  margin-bottom: 32px;
}

.ct-hero-headline em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px var(--black);
  position: relative;
}

.ct-hero-headline em::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 3px;
  background: var(--lime);
  border-radius: 2px;
}

.ct-hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 400;
  color: rgba(0,0,0,0.45);
  line-height: 1.75;
  max-width: 480px;
}

/* Availability badge */
.ct-avail {
  position: absolute;
  top: calc(var(--nav-h) + 48px);
  right: 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(0,0,0,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  padding: 10px 18px;
  z-index: 3;
}

.ct-avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: availpulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes availpulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.75); }
}

.ct-avail-text {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--black);
  white-space: nowrap;
}

.ct-hero-scroll {
  position: absolute;
  right: 44px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

/* =============================================
   MAIN CONTACT SECTION
   ============================================= */

.ct-main {
  padding: 120px 44px;
  border-top: 1px solid rgba(0,0,0,0.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.ct-main-headline {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 24px;
}

.ct-main-desc {
  font-size: 15px;
  color: rgba(0,0,0,0.55);
  line-height: 1.82;
  margin-bottom: 16px;
}

/* Location pill */
.ct-location {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 40px;
  padding: 20px 24px;
  background: rgba(0,0,0,0.02);
  border: 1px solid rgba(0,0,0,0.07);
  border-radius: 14px;
}

.ct-location-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--black);
  color: var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.ct-location-city {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-bottom: 3px;
}

.ct-location-note {
  display: block;
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
}

/* =============================================
   CONTACT CARDS
   ============================================= */

.ct-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Base card */
.ct-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px 32px;
  border-radius: 0;
  border: none;
  background: transparent;
  transition: border-color 0.28s, box-shadow 0.28s, transform 0.32s var(--ease);
  will-change: transform;
  text-decoration: none;
}

.ct-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 2px;
  background: rgba(200,241,53,0.14);
  box-shadow: 0 14px 26px rgba(0,0,0,0.06), 0 2px 4px rgba(0,0,0,0.04);
  clip-path: polygon(0 0, 92% 0, 100% 8%, 100% 100%, 0 100%);
  transform: rotate(-0.8deg);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s;
}

.ct-card::after {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  width: 58px;
  height: 14px;
  z-index: -1;
  border-radius: 1px;
  background: rgba(255,255,255,0.46);
  transform: translateX(-50%) rotate(-2deg);
}

.ct-card:nth-child(2)::before { background: rgba(226,224,255,0.54); transform: rotate(1deg); }
.ct-card:nth-child(3)::before { background: rgba(216,241,235,0.58); transform: rotate(-0.7deg); }
.ct-card > * { position: relative; z-index: 1; }

.ct-card:hover {
  transform: translateY(-3px);
}

.ct-card:hover::before { box-shadow: 0 20px 34px rgba(0,0,0,0.1), 0 3px 6px rgba(0,0,0,0.05); }

/* Primary WhatsApp card */
.ct-card--primary {
  color: var(--white);
}

.ct-card--primary:hover {
  color: var(--white);
}

.ct-card--primary::before { background: rgba(22,22,22,0.96); border-color: rgba(200,241,53,0.18); }
.ct-card--primary:hover::before { background: rgba(22,22,22,0.98); box-shadow: 0 20px 34px rgba(0,0,0,0.22), 0 3px 6px rgba(0,0,0,0.12); }

.ct-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.ct-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Icon bg per card type */
.ct-card--primary .ct-card-icon {
  background: rgba(200,241,53,0.12);
  color: var(--lime);
}

.ct-card:not(.ct-card--primary) .ct-card-icon {
  background: rgba(0,0,0,0.04);
  color: var(--black);
}

.ct-card-badge {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  background: rgba(200,241,53,0.12);
  border: 1px solid rgba(200,241,53,0.25);
  border-radius: 100px;
  padding: 4px 10px;
}

.ct-card-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.ct-card--primary .ct-card-label { color: rgba(255,255,255,0.35); }
.ct-card:not(.ct-card--primary) .ct-card-label { color: var(--gray); }

.ct-card-value {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.ct-card--primary .ct-card-value { color: var(--white); }
.ct-card:not(.ct-card--primary) .ct-card-value { color: var(--black); }

.ct-card-action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
  transition: gap 0.24s;
}

.ct-card--primary .ct-card-action { color: rgba(255,255,255,0.45); }
.ct-card:not(.ct-card--primary) .ct-card-action { color: var(--gray); }

.ct-card:hover .ct-card-action { gap: 10px; }
.ct-card--primary:hover .ct-card-action { color: var(--lime); }
.ct-card:not(.ct-card--primary):hover .ct-card-action { color: var(--black); }

/* Social row */
.ct-social-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0 0;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.ct-social-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  flex-shrink: 0;
}

.ct-social-links {
  display: flex;
  gap: 10px;
}

/* =============================================
   HONEST NOTE
   ============================================= */

.ct-note {
  padding: 0 44px 80px;
}

.ct-note-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: rgba(200,241,53,0.06);
  border: 1px solid rgba(200,241,53,0.2);
  border-radius: 16px;
  padding: 32px 36px;
  max-width: 860px;
}

.ct-note-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--lime);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ct-note-inner p {
  font-size: 14px;
  color: rgba(0,0,0,0.6);
  line-height: 1.82;
  padding-top: 6px;
}

/* =============================================
   PROCESS STRIP
   ============================================= */

.ct-process {
  padding: 80px 44px 120px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.ct-process-steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 0;
}

.ct-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-right: 40px;
}

.ct-step-divider {
  font-size: 24px;
  color: var(--lime);
  padding-top: 12px;
  flex-shrink: 0;
  opacity: 0.6;
}

.ct-step-num {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: rgba(0,0,0,0.05);
  line-height: 1;
}

.ct-step-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--black);
}

.ct-step-desc {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.72;
}

.ct-step:hover .ct-step-num { color: var(--lime); transition: color 0.3s; }

/* Active menu link */
.menu-link--active { color: rgba(255,255,255,0.5) !important; }
.menu-link--active:hover { color: var(--white) !important; }

/* =============================================
   RESPONSIVE
   ============================================= */

@media (max-width: 960px) {
  .ct-main { grid-template-columns: 1fr; gap: 56px; }
  .ct-avail { top: auto; bottom: 100px; right: 24px; }
  .ct-process-steps { flex-direction: column; gap: 36px; }
  .ct-step { padding-right: 0; }
  .ct-step-divider { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .ct-hero {
    padding: calc(var(--nav-h) + 40px) 24px 80px;
    min-height: 100svh;
    align-items: flex-end;
  }

  .ct-hero-scroll { display: none; }
  .ct-avail { top: calc(var(--nav-h) + 16px); right: 20px; left: 20px; bottom: auto; justify-content: center; }

  .ct-main    { padding: 80px 24px; }
  .ct-note    { padding: 0 24px 64px; }
  .ct-process { padding: 64px 24px 80px; }
}

@media (max-width: 480px) {
  .ct-hero {
    padding: calc(var(--nav-h) + 28px) 18px 72px;
  }

  .ct-hero-headline { font-size: clamp(42px, 13vw, 76px); }
  .ct-hero-sub { font-size: 14px; }

  .ct-avail { font-size: 10px; padding: 8px 14px; }
  .ct-avail-text { font-size: 10px; }

  .ct-main    { padding: 64px 18px; gap: 44px; }
  .ct-note    { padding: 0 18px 56px; }
  .ct-process { padding: 56px 18px 72px; }

  .ct-card    { padding: 22px 24px; border-radius: 0; }
  .ct-card-value { font-size: 16px; }

  .ct-note-inner { flex-direction: column; gap: 14px; padding: 22px 20px; }

  .ct-step-num { font-size: 36px; }
  .ct-step-name { font-size: 16px; }

  .section-label { margin-bottom: 40px; }
}

/* Paper texture for the hero surface */
.ct-hero {
  background-color: var(--paper);
  background-image:
    radial-gradient(circle at 20% 22%, rgba(210,237,88,0.1), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(226,224,255,0.16), transparent 24%),
    linear-gradient(rgba(23,24,23,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23,24,23,0.014) 1px, transparent 1px);
  background-size: auto, auto, 34px 34px, 34px 34px;
}

.ct-hero::before { opacity: 0.48; }
.ct-hero::after { opacity: 0.28; }
.ct-hero-noise { opacity: 0.08; mix-blend-mode: multiply; }
