/* ═══ AL-NEXA GULF — Contact Page ═══ */

/* ─── BLUEPRINT BACKGROUND ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: .03;
  background-image:
    linear-gradient(rgba(137,44,55,.15) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137,44,55,.15) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* ─── HERO ─── */
.ct-hero {
  padding: calc(var(--nav-height) + var(--space-3xl)) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}
.ct-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 500px;
  height: 500px;
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  opacity: .08;
  transform: translate(30%, 30%);
}
.ct-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: end;
}
.ct-hero-overline {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: var(--space-md);
  display: block;
}
.ct-hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.02em;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}
.ct-hero-accent {
  color: var(--accent);
  font-style: italic;
}
.ct-hero-line {
  width: 100px;
  height: 4px;
  background: var(--brand);
  border-radius: 2px;
}
.ct-hero-right {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  padding-bottom: var(--space-md);
}
.ct-hero-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 440px;
}
.ct-hero-stats {
  display: flex;
  gap: var(--space-xl);
}
.ct-stat {
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.ct-stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--brand);
  line-height: 1;
}
.ct-stat-label {
  font-size: .7rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ─── MAIN CONTACT GRID ─── */
.ct-main {
  padding: 0 0 var(--space-3xl);
}
.ct-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: var(--space-2xl);
  align-items: start;
}

/* ─── LEFT: INFO ─── */
.ct-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}
.ct-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: .3rem;
}
.ct-info-header h2 {
  font-size: 1.8rem;
  color: var(--text-primary);
}
.ct-info-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
.ct-info-card {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius-sm);
  transition: all .3s;
  position: relative;
}
.ct-info-card:hover {
  border-left-color: var(--accent);
  transform: translateX(4px);
  box-shadow: 0 8px 30px rgba(0,0,0,.04);
}
.ct-info-icon {
  width: 48px;
  height: 48px;
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
}
.ct-info-content h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: .2rem;
}
.ct-info-content p {
  font-size: .85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.ct-info-tag {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--accent);
  background: var(--accent-dim);
  padding: .15rem .5rem;
  border: 1px solid var(--border-accent);
}
.ct-phone-block {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  background: var(--brand);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-decoration: none;
  transition: all .3s;
}
.ct-phone-block:hover {
  background: var(--brand-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--brand-glow);
}
.ct-phone-block i {
  font-size: .9rem;
}

/* ─── RIGHT: FORM ─── */
.ct-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: var(--space-xl);
  position: relative;
  box-shadow: 0 4px 30px rgba(0,0,0,.03);
}
.ct-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.ct-form-header {
  margin-bottom: var(--space-xl);
}
.ct-form-header h2 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: .3rem;
}
.ct-form-header p {
  font-size: .88rem;
  color: var(--text-muted);
}

/* Floating Label Fields */
.ct-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}
.ct-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}
.ct-field {
  position: relative;
  display: flex;
  flex-direction: column;
}
.ct-field-full {
  grid-column: 1/-1;
}
.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  padding: .9rem 0 .5rem;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border-default);
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--text-primary);
  outline: none;
  transition: border-color .3s;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
}
.ct-field textarea {
  resize: vertical;
  min-height: 100px;
}
.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  border-bottom-color: var(--brand);
}
.ct-field input:focus ~ .ct-field-line,
.ct-field select:focus ~ .ct-field-line,
.ct-field textarea:focus ~ .ct-field-line {
  transform: scaleX(1);
}

/* Floating label */
.ct-field label {
  position: absolute;
  top: .9rem;
  left: 0;
  font-size: .85rem;
  color: var(--text-muted);
  pointer-events: none;
  transition: all .25s;
  font-family: var(--font-body);
}
.ct-field input:focus ~ label,
.ct-field input:not(:placeholder-shown) ~ label,
.ct-field select:focus ~ label,
.ct-field select:valid ~ label,
.ct-field textarea:focus ~ label,
.ct-field textarea:not(:placeholder-shown) ~ label {
  top: -.3rem;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}

/* Animated bottom line */
.ct-field-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out-expo);
}

/* Select dropdown arrow */
.ct-field select {
  cursor: pointer;
  padding-right: 1.5rem;
}
.ct-select-arrow {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: .6rem;
  color: var(--accent);
  pointer-events: none;
  transition: transform .25s;
}
.ct-field select:focus ~ .ct-select-arrow {
  transform: translateY(-50%) rotate(180deg);
}
.ct-field select option {
  background: #fff;
  color: var(--text-primary);
}

/* Submit */
.ct-form-submit {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-sm);
  position: relative;
}
.ct-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: .9rem 2.2rem;
  background: var(--brand);
  color: #fff;
  border: none;
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .3s;
  position: relative;
  overflow: hidden;
}
.ct-submit-btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--brand-bright);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out-expo);
  z-index: 0;
}
.ct-submit-btn:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.ct-submit-btn:hover {
  box-shadow: 0 10px 30px var(--brand-glow);
  transform: translateY(-2px);
}
.ct-submit-btn:hover .ct-submit-icon {
  transform: translateX(4px);
}
.ct-submit-btn span {
  position: relative;
  z-index: 1;
}
.ct-submit-icon {
  transition: transform .3s;
}
.ct-form-sent-msg {
  font-size: .8rem;
  font-weight: 600;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-10px);
  transition: all .4s;
  pointer-events: none;
}
.ct-form-sent .ct-form-sent-msg {
  opacity: 1;
  transform: translateX(0);
}
.ct-form-sent .ct-submit-btn {
  pointer-events: none;
  opacity: .6;
}

/* ─── GOOGLE MAPS ─── */
.ct-maps {
  padding: var(--space-3xl) 0;
  background: var(--bg-secondary);
}
.ct-maps-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.ct-maps-header h2 {
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: .3rem;
}
.ct-maps-header p {
  color: var(--text-muted);
  font-size: .9rem;
  max-width: 500px;
  margin: 0 auto;
}
.ct-maps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}
.ct-map-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  transition: all .35s;
  box-shadow: 0 2px 16px rgba(0,0,0,.04);
}
.ct-map-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,.08);
}
.ct-map-frame {
  width: 100%;
  height: 220px;
  position: relative;
  overflow: hidden;
}
.ct-map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(30%);
  transition: filter .4s;
}
.ct-map-card:hover .ct-map-frame iframe {
  filter: grayscale(0%);
}
.ct-map-info {
  padding: var(--space-md) var(--space-lg) var(--space-lg);
}
.ct-map-badge {
  display: inline-block;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  padding: .2rem .6rem;
  margin-bottom: var(--space-sm);
}
.ct-map-info h4 {
  font-size: 1.05rem;
  color: var(--brand);
  margin-bottom: .3rem;
}
.ct-map-info p {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}
.ct-map-info p i {
  color: var(--accent);
  font-size: .65rem;
  margin-right: .4rem;
}
.ct-map-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  transition: all .25s;
  letter-spacing: .03em;
}
.ct-map-link:hover {
  color: var(--accent);
  gap: .6rem;
}
.ct-map-link i {
  font-size: .6rem;
}

/* ─── STATS STRIP ─── */
.ct-strip {
  background: var(--brand);
  padding: var(--space-lg) 0;
}
.ct-strip-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
}
.ct-strip-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .03em;
}
.ct-strip-item i {
  font-size: .75rem;
  color: var(--accent);
}
.ct-strip-div {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,.2);
}

/* ─── RESPONSIVE ─── */
@media(max-width:1024px) {
  .ct-hero-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .ct-hero-right {
    gap: var(--space-lg);
  }
  .ct-grid {
    grid-template-columns: 1fr;
  }
  .ct-maps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media(max-width:768px) {
  .ct-hero {
    padding: calc(var(--nav-height) + var(--space-2xl)) 0 var(--space-xl);
  }
  .ct-hero-title {
    font-size: 2.5rem;
  }
  .ct-hero-stats {
    flex-wrap: wrap;
    gap: var(--space-lg);
  }
  .ct-field-row {
    grid-template-columns: 1fr;
  }
  .ct-form-card {
    padding: var(--space-lg);
  }
  .ct-maps-grid {
    grid-template-columns: 1fr;
  }
  .ct-strip-inner {
    flex-direction: column;
    gap: var(--space-sm);
  }
  .ct-strip-div {
    display: none;
  }
}
