/* ═══════════════════════════════════════════════════════════ */
/* Avorino — Contact Page CSS (CDN-deployed)                  */
/* Split hero (dark 3D left + cream form right),              */
/* trust signals, map + office info                           */
/* ═══════════════════════════════════════════════════════════ */

/* ── Section 1: Split Hero ── */
.ct-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

/* Left: 3D canvas + heading */
.ct-hero-left {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 160px 64px 80px;
  background: #111111;
  overflow: hidden;
}
.ct-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.6;
  pointer-events: none;
}
.ct-canvas-wrap canvas {
  width: 100% !important;
  height: 100% !important;
}
/* Blueprint grid overlay */
.ct-hero-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(240,237,232,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,237,232,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 1;
  pointer-events: none;
}
/* Bottom gradient for text readability */
.ct-hero-left::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, #111111, transparent);
  z-index: 1;
  pointer-events: none;
}
.ct-hero-content {
  position: relative;
  z-index: 2;
}
.ct-hero-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.4);
  margin-bottom: 20px;
}
.ct-hero-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(40px, 4.5vw, 68px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #f0ede8;
  margin-bottom: 20px;
}
.ct-hero-sub {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(240,237,232,0.55);
  max-width: 440px;
}
.ct-contact-row {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(240,237,232,0.08);
}
.ct-contact-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.3);
  margin-bottom: 6px;
}
.ct-contact-value {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 20px;
  color: #f0ede8;
}
.ct-contact-value a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
.ct-contact-value a:hover {
  color: #c8222a;
}

/* Right: Form */
.ct-hero-right {
  background: #f0ede8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 160px 64px 80px;
  position: relative;
}
/* Decorative corner accent */
.ct-hero-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 120px;
  border-left: 1px solid rgba(17,17,17,0.06);
  border-bottom: 1px solid rgba(17,17,17,0.06);
  pointer-events: none;
}
.ct-form-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(28px, 2.5vw, 40px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #111111;
  margin-bottom: 8px;
}
.ct-form-sub {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(17,17,17,0.5);
  margin-bottom: 40px;
}

/* ── Contact Form ── */
/* Override shared Webflow form styles inside cream hero-right */
.ct-form,
.ct-hero-right [data-animate] {
  display: flex;
  flex-direction: column;
}

/* Target the shared Webflow form styles (av-input-clean etc.) inside hero-right */
.ct-hero-right input,
.ct-hero-right textarea,
.ct-hero-right select {
  width: 100% !important;
  font-family: 'DM Sans', system-ui, sans-serif !important;
  font-size: 16px !important;
  color: #111111 !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(17,17,17,0.15) !important;
  padding: 12px 0 !important;
  outline: none !important;
  border-radius: 0 !important;
  -webkit-appearance: none !important;
  transition: border-color 0.3s;
}
.ct-hero-right input:focus,
.ct-hero-right textarea:focus,
.ct-hero-right select:focus {
  border-bottom-color: #c8222a !important;
}
.ct-hero-right input::placeholder,
.ct-hero-right textarea::placeholder {
  color: rgba(17,17,17,0.3) !important;
}
.ct-hero-right select {
  appearance: none !important;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23111111' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='0.3'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 4px center !important;
  background-color: transparent !important;
}
.ct-hero-right textarea {
  resize: none !important;
  min-height: 80px !important;
}
.ct-hero-right label {
  display: block !important;
  font-family: 'DM Sans', system-ui, sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  color: rgba(17,17,17,0.4) !important;
  margin-bottom: 10px !important;
}
/* Submit button inside form */
.ct-hero-right button[type="submit"],
.ct-hero-right .av-submit-btn {
  align-self: flex-start !important;
  font-family: 'DM Sans', system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: #f0ede8 !important;
  background: #111111 !important;
  border: none !important;
  cursor: pointer;
  padding: 18px 48px !important;
  border-radius: 100px !important;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  margin-top: 8px !important;
  width: 100% !important;
}
.ct-hero-right button[type="submit"]:hover,
.ct-hero-right .av-submit-btn:hover {
  background: #c8222a !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,34,42,0.25);
}
/* Form grid (half-width pairs) */
.ct-hero-right .av-form-grid-2 {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 20px !important;
}

/* Also support ct-form-* classes for the CDN form fallback */
.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ct-form-group {
  margin-bottom: 24px;
}
.ct-form-submit {
  align-self: flex-start;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0ede8;
  background: #111111;
  border: none;
  cursor: pointer;
  padding: 18px 48px;
  border-radius: 100px;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
  margin-top: 8px;
}
.ct-form-submit:hover {
  background: #c8222a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,34,42,0.25);
}

/* ── Section 2: Trust Signals ── */
.ct-trust {
  background: #111111;
  padding: 80px 80px;
  border-top: 1px solid rgba(240,237,232,0.06);
}
.ct-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.ct-trust-item {
  text-align: center;
  padding: 40px 24px;
  border-radius: 8px;
  background: rgba(240,237,232,0.02);
  border: 1px solid rgba(240,237,232,0.04);
  transition: border-color 0.4s, transform 0.4s;
}
.ct-trust-item:hover {
  border-color: rgba(240,237,232,0.08);
  transform: translateY(-4px);
}
.ct-trust-value {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 400;
  color: #f0ede8;
  line-height: 1;
  margin-bottom: 12px;
}
.ct-trust-accent {
  color: #c8222a;
}
.ct-trust-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.35);
}

/* ── Section 3: Map + Office Info ── */
.ct-location {
  background: #0d0d0d;
  padding: 128px 80px;
}
.ct-location-header {
  text-align: center;
  margin-bottom: 72px;
}
.ct-location-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.35);
  margin-bottom: 16px;
}
.ct-location-heading {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(36px, 3.5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  color: #f0ede8;
}
.ct-location-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  max-width: 1200px;
  margin: 0 auto;
}
.ct-map-wrapper {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/10;
  background: #1a1a1a;
  position: relative;
}
.ct-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) invert(1) contrast(0.9) brightness(0.6);
}
.ct-map-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(240,237,232,0.06);
  border-radius: 12px;
  pointer-events: none;
}
.ct-office-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}
.ct-office-label {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(240,237,232,0.3);
  margin-bottom: 12px;
}
.ct-office-value {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(240,237,232,0.7);
}
.ct-office-value strong {
  font-weight: 500;
  color: #f0ede8;
}
.ct-office-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, rgba(240,237,232,0.08), transparent);
}

/* ═══════════════════════════════════════════════ */
/* RESPONSIVE — Tablet (≤991px)                    */
/* Matches avorino-responsive.css breakpoints       */
/* ═══════════════════════════════════════════════ */
@media screen and (max-width: 991px) {
  /* Hero: stack vertically */
  .ct-hero {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .ct-hero-left {
    min-height: 55vh;
    padding: 120px 48px 56px !important;
  }
  .ct-hero-right {
    padding: 56px 48px !important;
  }
  .ct-hero-heading {
    font-size: clamp(36px, 6vw, 52px) !important;
  }
  .ct-hero-sub {
    max-width: 100%;
  }

  /* Trust: 2-col grid */
  .ct-trust {
    padding: 64px 48px !important;
  }
  .ct-trust-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px !important;
  }

  /* Location: stack map + info */
  .ct-location {
    padding: 80px 48px !important;
  }
  .ct-location-header {
    margin-bottom: 48px;
  }
  .ct-location-grid {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
  .ct-map-wrapper {
    aspect-ratio: 16/9;
  }

  /* Form: inputs stay readable */
  .ct-hero-right input,
  .ct-hero-right textarea,
  .ct-hero-right select {
    font-size: 17px !important;
  }
}

/* ═══════════════════════════════════════════════ */
/* RESPONSIVE — Mobile Landscape (≤767px)          */
/* ═══════════════════════════════════════════════ */
@media screen and (max-width: 767px) {
  .ct-hero-left {
    min-height: 50vh;
    padding: 100px 24px 48px !important;
  }
  .ct-hero-right {
    padding: 48px 24px !important;
  }
  .ct-hero-heading {
    font-size: clamp(28px, 7vw, 42px) !important;
  }
  .ct-hero-sub {
    font-size: 15px;
  }
  .ct-contact-row {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .ct-contact-value {
    font-size: 18px;
  }

  /* Form: half-width fields stack */
  .ct-form-row,
  .av-form-grid-2,
  .ct-hero-right .av-form-grid-2 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .ct-hero-right input,
  .ct-hero-right textarea,
  .ct-hero-right select {
    font-size: 19px !important; /* prevent iOS zoom */
  }
  .ct-hero-right button[type="submit"],
  .ct-hero-right .av-submit-btn,
  .ct-form-submit {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
  }
  .ct-form-heading {
    font-size: clamp(24px, 5vw, 32px);
  }
  .ct-form-sub {
    margin-bottom: 28px;
  }

  /* Trust */
  .ct-trust {
    padding: 48px 24px !important;
  }
  .ct-trust-grid {
    gap: 16px !important;
  }
  .ct-trust-item {
    padding: 32px 20px;
  }
  .ct-trust-value {
    font-size: clamp(28px, 6vw, 40px);
  }

  /* Location */
  .ct-location {
    padding: 56px 24px !important;
  }
  .ct-location-header {
    margin-bottom: 36px;
  }
  .ct-location-grid {
    gap: 36px !important;
  }
  .ct-map-wrapper {
    aspect-ratio: 4/3;
    min-height: 280px;
  }
  .ct-office-info {
    gap: 28px;
  }
}

/* ═══════════════════════════════════════════════ */
/* RESPONSIVE — Mobile Portrait (≤478px)           */
/* ═══════════════════════════════════════════════ */
@media screen and (max-width: 478px) {
  .ct-hero-left {
    min-height: 45vh;
    padding: 80px 16px 36px !important;
  }
  .ct-hero-right {
    padding: 36px 16px !important;
  }
  .ct-hero-heading {
    font-size: clamp(24px, 7vw, 36px) !important;
    margin-bottom: 14px;
  }
  .ct-hero-sub {
    font-size: 14px;
    line-height: 1.7;
  }
  .ct-hero-label {
    font-size: 10px;
    margin-bottom: 14px;
  }
  .ct-contact-row {
    margin-top: 24px;
    padding-top: 24px;
  }
  .ct-contact-value {
    font-size: 16px;
  }

  /* Form */
  .ct-form-heading {
    font-size: clamp(22px, 5vw, 28px);
  }
  .ct-form-sub {
    font-size: 14px;
    margin-bottom: 24px;
  }
  .ct-form-group {
    margin-bottom: 20px;
  }
  .ct-form-submit {
    padding: 16px 32px;
    font-size: 13px;
  }

  /* Trust */
  .ct-trust {
    padding: 36px 16px !important;
  }
  .ct-trust-grid {
    gap: 10px !important;
  }
  .ct-trust-item {
    padding: 24px 12px;
  }
  .ct-trust-value {
    font-size: clamp(24px, 5vw, 32px);
  }
  .ct-trust-label {
    font-size: 10px;
    letter-spacing: 0.15em;
  }

  /* Location */
  .ct-location {
    padding: 40px 16px !important;
  }
  .ct-location-header {
    margin-bottom: 28px;
  }
  .ct-location-heading {
    font-size: clamp(24px, 6vw, 36px);
  }
  .ct-location-grid {
    gap: 28px !important;
  }
  .ct-map-wrapper {
    aspect-ratio: 1/1;
    min-height: 240px;
    border-radius: 8px;
  }
  .ct-office-info {
    gap: 24px;
  }
  .ct-office-label {
    font-size: 10px;
    margin-bottom: 8px;
  }
  .ct-office-value {
    font-size: 15px;
  }
  .ct-office-divider {
    margin: 0;
  }
}
