/* =========================================================
   GIZE CONTACT PAGE
   Clean, premium, responsive design
   ========================================================= */

:root {
  --navy: #17343b;
  --navy-deep: #10282e;
  --teal: #4e858a;
  --teal-light: #7fb1b1;
  --mint: #dff0ed;
  --cream: #f7faf8;
  --white: #ffffff;
  --ink: #173238;
  --muted: #718589;
  --line: #e2ebea;
  --shadow: 0 28px 70px rgba(23, 52, 59, 0.14);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --body-font: "DM Sans", sans-serif;
  --heading-font: "Manrope", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: var(--body-font);
  color: var(--ink);
  background: var(--cream);
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

/* =========================
   PAGE
   ========================= */

.contact-page {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 24px 30px;
  background:
    radial-gradient(circle at 8% 10%, rgba(127, 177, 177, 0.15), transparent 28%),
    radial-gradient(circle at 92% 85%, rgba(78, 133, 138, 0.12), transparent 30%),
    var(--cream);
}

.background-orb {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.orb-one {
  width: 360px;
  height: 360px;
  top: -170px;
  right: -120px;
  background: rgba(127, 177, 177, 0.12);
}

.orb-two {
  width: 260px;
  height: 260px;
  bottom: -130px;
  left: -100px;
  background: rgba(78, 133, 138, 0.08);
}

.background-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(23, 52, 59, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 52, 59, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}

/* =========================
   MAIN LAYOUT
   ========================= */

.contact-shell {
  width: min(1120px, 100%);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.88fr);
  gap: clamp(50px, 8vw, 110px);
  align-items: center;
}

/* =========================
   INTRO
   ========================= */

.intro {
  max-width: 590px;
}

.brand-mark {
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(145deg, var(--navy), var(--teal));
  box-shadow: 0 15px 32px rgba(23, 52, 59, 0.18);
  font-family: var(--heading-font);
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.06em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 19px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(78, 133, 138, 0.10);
}

h1 {
  max-width: 600px;
  color: var(--navy);
  font-family: var(--heading-font);
  font-size: clamp(3.1rem, 6vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 800;
}

h1 span {
  display: inline-block;
  color: var(--teal);
}

.intro-text {
  max-width: 520px;
  margin-top: 27px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border: 1px solid rgba(127, 177, 177, 0.25);
  border-radius: 999px;
  color: #526a6e;
  background: rgba(255, 255, 255, 0.56);
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(10px);
}

.trust-item i {
  color: var(--teal);
  font-size: 16px;
}

/* =========================
   CONTACT CARD
   ========================= */

.contact-card {
  position: relative;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  animation: cardIn 0.75s ease both;
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.card-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.card-top h2 {
  color: var(--navy);
  font-family: var(--heading-font);
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  line-height: 1.1;
  letter-spacing: -0.045em;
}

.live-indicator {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f8fbfa;
}

.live-indicator span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #62a19c;
  box-shadow: 0 0 0 6px rgba(98, 161, 156, 0.12);
  animation: pulse 2s infinite;
}

/* =========================
   PHONE ITEMS
   ========================= */

.phone-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.phone-item {
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 86px;
  padding: 14px 14px 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fbfdfc;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.phone-item:hover {
  transform: translateY(-2px);
  border-color: rgba(78, 133, 138, 0.28);
  box-shadow: 0 12px 28px rgba(23, 52, 59, 0.07);
}

.phone-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--teal);
  background: var(--mint);
  font-size: 21px;
}

.phone-details {
  min-width: 0;
  flex: 1;
}

.phone-label {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.phone-number {
  color: var(--navy);
  font-family: var(--heading-font);
  font-size: clamp(1rem, 2vw, 1.12rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.phone-number:hover {
  color: var(--teal);
}

.copy-btn {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
  transition: 0.22s ease;
}

.copy-btn:hover {
  color: var(--teal);
  border-color: rgba(78, 133, 138, 0.3);
  background: var(--mint);
}

.copy-btn.copied {
  color: #3f817a;
  background: #e7f5f0;
}

/* =========================
   ACTIONS
   ========================= */

.card-divider {
  height: 1px;
  margin: 27px 0 20px;
  background: var(--line);
}

.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.primary-action,
.secondary-action {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border-radius: 15px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.primary-action {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 10px 22px rgba(23, 52, 59, 0.16);
}

.primary-action:hover {
  transform: translateY(-2px);
  background: var(--teal);
  box-shadow: 0 14px 28px rgba(78, 133, 138, 0.22);
}

.primary-action > i:first-child {
  font-size: 17px;
}

.action-arrow {
  margin-left: auto;
  font-size: 16px;
  opacity: 0.75;
}

.secondary-action {
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--white);
}

.secondary-action:hover {
  transform: translateY(-2px);
  border-color: rgba(78, 133, 138, 0.28);
  background: #f4f9f8;
}

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 18px;
  color: #91a0a2;
  font-size: 10px;
}

.secure-note i {
  font-size: 13px;
}

/* =========================
   FOOTER
   ========================= */

.footer {
  width: min(1120px, 100%);
  margin: 48px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #9aa9aa;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer > span:first-child {
  color: var(--teal);
  font-weight: 800;
}

.footer-line {
  width: 26px;
  height: 1px;
  background: #ccd8d7;
}

/* =========================
   TOAST
   ========================= */

.toast {
  position: fixed;
  z-index: 50;
  left: 50%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 15px 35px rgba(23, 52, 59, 0.2);
  font-size: 12px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 20px);
  transition: 0.28s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.toast i {
  color: #9ad1c6;
  font-size: 16px;
}

/* =========================
   ANIMATIONS
   ========================= */

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 5px rgba(98, 161, 156, 0.10);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(98, 161, 156, 0.18);
  }
}

/* =========================
   TABLET
   ========================= */

@media (max-width: 900px) {
  .contact-page {
    padding-top: 42px;
  }

  .contact-shell {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .intro {
    max-width: 720px;
  }

  h1 {
    max-width: 680px;
  }

  .intro-text {
    max-width: 650px;
  }

  .contact-card {
    width: min(680px, 100%);
  }
}

/* =========================
   MOBILE
   ========================= */

@media (max-width: 600px) {
  .contact-page {
    min-height: 100svh;
    padding: 28px 16px 24px;
  }

  .contact-shell {
    gap: 32px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border-radius: 15px;
    font-size: 22px;
  }

  .eyebrow {
    max-width: 330px;
    margin-bottom: 15px;
    font-size: 9px;
    line-height: 1.5;
  }

  h1 {
    font-size: clamp(2.75rem, 14vw, 4.2rem);
  }

  .intro-text {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.7;
  }

  .trust-row {
    margin-top: 22px;
    gap: 8px;
  }

  .trust-item {
    padding: 8px 11px;
    font-size: 10px;
  }

  .contact-card {
    padding: 23px 17px 20px;
    border-radius: 25px;
  }

  .card-top h2 {
    font-size: 1.8rem;
  }

  .live-indicator {
    width: 38px;
    height: 38px;
  }

  .phone-list {
    margin-top: 22px;
    gap: 9px;
  }

  .phone-item {
    min-height: 77px;
    gap: 11px;
    padding: 10px;
  }

  .phone-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    border-radius: 12px;
    font-size: 18px;
  }

  .phone-number {
    font-size: 0.91rem;
  }

  .phone-label {
    font-size: 8px;
  }

  .copy-btn {
    width: 37px;
    height: 37px;
    flex-basis: 37px;
    border-radius: 10px;
  }

  .quick-actions {
    grid-template-columns: 1fr;
  }

  .primary-action,
  .secondary-action {
    min-height: 50px;
  }

  .footer {
    margin-top: 28px;
    font-size: 8px;
    text-align: center;
  }
}

/* =========================
   REDUCED MOTION
   ========================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
