/* contact.css — section styles, owned by the contact section agent.
   Covers three partials: contact.ejs, footer.ejs, cookiebar.ejs.
   ================================================================== */

/* ==================================================================
   1. CONTACT
   ================================================================== */
.contact {
  position: relative;
  isolation: isolate;
}

.contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(720px 420px at 50% 40%, rgba(52, 245, 162, .06), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.contact-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  padding: clamp(36px, 5vw, 64px);
}

.contact-panel:hover {
  transform: none;
}

.contact-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--grad-accent);
}

.contact-orb {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .10;
  pointer-events: none;
  z-index: 0;
}

.contact-orb-a {
  top: -140px;
  left: -120px;
  background: var(--green);
  animation: contact-orb-float 13s ease-in-out infinite;
}

.contact-orb-b {
  bottom: -160px;
  right: -140px;
  background: var(--gold);
  animation: contact-orb-float 16s ease-in-out infinite reverse;
}

@keyframes contact-orb-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -16px) scale(1.06); }
}

.contact-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
}

/* --- Left column ------------------------------------------------- */
.lead-left {
  margin-top: 16px;
  margin-bottom: 28px;
  font: 400 17px/1.65 var(--font-body);
  max-width: 46ch;
}

.contact-points {
  display: grid;
  gap: 14px;
  margin-bottom: 8px;
}

.contact-points li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 15px;
}

.contact-points .check-ico {
  flex: none;
  color: var(--green);
}

.contact-alt {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.contact-alt-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  font-size: 13px;
  color: var(--muted);
  transition: color .25s var(--ease);
}

.contact-alt-row .alt-ico {
  flex: none;
  color: var(--muted);
  transition: color .25s var(--ease);
}

.contact-alt-row:hover,
.contact-alt-row:hover .alt-ico {
  color: var(--green);
}

/* --- Right column: form ------------------------------------------- */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.form-row .field {
  margin-bottom: 0;
}

.field-services .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lead-form .checkbox {
  margin-bottom: 22px;
}

.form-error {
  display: none;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.5;
}

form.form-err .form-error {
  display: block;
  color: #ff7a7a;
}

.btn-block {
  width: 100%;
  height: 56px;
}

.form-micro {
  margin-top: 14px;
  font-size: 12px;
  text-align: center;
}

/* --- Responsive ---------------------------------------------------- */
@media (max-width: 1024px) {
  .contact-grid {
    gap: 40px;
  }
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==================================================================
   2. FOOTER
   ================================================================== */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 64px 0 32px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 26px;
  height: 26px;
  color: var(--green);
  flex: none;
}

.brand-word {
  font: 700 18px var(--font-display);
  letter-spacing: -0.01em;
  color: var(--text);
}

.footer-tagline {
  margin-top: 14px;
  font-size: 14px;
  max-width: 32ch;
}

.footer-h {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--muted);
  margin-bottom: 18px;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
  color: var(--muted);
  transition: color .25s var(--ease);
}

.footer-links a:hover {
  color: var(--green);
}

.footer-hours {
  margin-top: 16px;
  font-size: 12px;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  margin-top: 48px;
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 12px;
}

/* --- Responsive ---------------------------------------------------- */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* ==================================================================
   3. COOKIEBAR
   Base structural rules (position/left/right/bottom/z-index/transition)
   live in base.css; this file loads after it and overrides the values
   below on the same selectors to get a centered floating bar, per spec.
   ================================================================== */
.cookiebar {
  left: 50%;
  right: auto;
  transform: translate(-50%, 0);
  z-index: 120;
  max-width: 680px;
  width: calc(100% - 32px);
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(18, 26, 34, .85), rgba(14, 20, 26, .9));
  box-shadow: 0 24px 60px rgba(0, 0, 0, .5);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cookiebar.is-hidden {
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
}

.cb-text {
  flex: 1;
  font-size: 13.5px;
  line-height: 1.6;
}

.cb-more {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
  transition: color .25s var(--ease);
}

.cb-more:hover {
  color: var(--gold);
}

.cb-actions {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

/* --- Responsive ---------------------------------------------------- */
@media (max-width: 600px) {
  .cookiebar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cb-actions {
    justify-content: center;
  }
}

/* Operator block under the footer tagline — divider line + Dubai address */
.footer-operator {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 4px;
  max-width: 32ch;
}

.footer-operator span {
  font: 400 12.5px/1.6 var(--font-mono);
  color: var(--muted);
  letter-spacing: .02em;
}
