/* CONTACT PAGE STYLES */

/* --- SHOP HEADER CARD --- */
.shop-header-card {
  background: linear-gradient(135deg, #f0f4f8 0%, #dce4ea 100%);
  border-radius: 32px;
  box-shadow:
    0 24px 48px rgba(18, 20, 24, 0.06),
    inset 0 2px 0 rgba(255, 255, 255, 0.8),
    inset 0 0 24px rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
  z-index: 2;
  text-align: center;
  margin: 100px 5% 25px;
  padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 48px);
}

.shop-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 80% -20%, rgba(255, 255, 255, 0.8) 0%, transparent 50%);
  pointer-events: none;
}

.shop-header-card > * {
  position: relative;
  z-index: 2;
}

/* --- CONTACT GRID --- */
.contact-section {
  padding-left: 5%;
  padding-right: 5%;
  padding-top: var(--spacing-section-sm) !important;
  padding-bottom: 0 !important;
}

.contact-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(24px, 3vw, 40px);
  align-items: stretch;
}

/* --- FORM CARD --- */
.contact-form-card {
  background: #ffffff;
  border-radius: var(--rounded-xxxl);
  box-shadow:
    0 24px 64px rgba(18, 20, 24, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  padding: clamp(32px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  gap: 32px;
  height: 100%;
}

.contact-form-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form-header .heading-lg {
  margin: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-ink-deep);
  letter-spacing: 0.01em;
}

.form-required {
  color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 16px;
  border: 1.5px solid #e8ecf1;
  border-radius: var(--rounded-lg);
  font-family: inherit;
  font-size: 14px;
  color: var(--color-ink);
  background: #f8fafc;
  transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aab0bc;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(71, 112, 194, 0.12);
}

.form-group textarea {
  resize: none;
  flex: 1;
  min-height: 120px;
}

.form-group:has(textarea) {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
}

/* --- OFFICES PANEL --- */
.contact-offices-panel {
  background: linear-gradient(160deg, #1a2d6b 0%, #243580 40%, #2c4099 100%);
  border-radius: var(--rounded-xxxl);
  padding: clamp(32px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.offices-panel-header {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.offices-panel-header .heading-lg,
.offices-panel-header .heading-lg--white {
  margin-top: 6px;
  color: #fff;
}

.offices-panel-header .section-overline {
  color: rgba(255, 255, 255, 0.65);
}

/* Office Blocks */
.office-block {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.office-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.office-block-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--rounded-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 2px;
}

.office-block-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.office-block-title {
  font-size: 13px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.office-block-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.65;
  margin: 0;
}

.office-block-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 4px;
}

.office-link {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.office-link:hover {
  color: #ffffff;
}

/* Branches Grid */
.branches-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.branch-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--rounded-lg);
  transition: background 0.2s ease;
}

.branch-item:hover {
  background: rgba(255, 255, 255, 0.12);
}

.branch-country {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

.branch-city {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.3;
}

/* --- CTA SECTION --- */
.contact-cta {
  padding-left: 5%;
  padding-right: 5%;
}

.contact-cta-card {
  position: relative;
  background: linear-gradient(140deg, #1a2d6b 0%, #243580 50%, #1e3a8a 100%);
  border-radius: var(--rounded-xxxl);
  overflow: hidden;
  padding: clamp(48px, 6vw, 72px) clamp(40px, 6vw, 80px);
}

/* Decorative blobs */
.cta-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.cta-blob--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 131, 230, 0.35) 0%, transparent 70%);
  top: -120px;
  right: -80px;
}

.cta-blob--2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(147, 197, 253, 0.18) 0%, transparent 70%);
  bottom: -60px;
  left: 10%;
}

.cta-blob--3 {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  top: 40%;
  left: 45%;
}

.cta-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

/* Stats row */
.cta-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.cta-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 clamp(24px, 4vw, 48px);
}

.cta-stat:first-child {
  padding-left: 0;
}

.cta-stat-number {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
}

.cta-stat-label {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

.cta-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

/* Body */
.cta-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
}

.cta-overline {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.cta-heading {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0;
}

.cta-description {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin: 0;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 8px;
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  color: var(--color-ink-deep);
  padding: 14px 28px;
  border-radius: var(--rounded-full);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
}

.cta-link-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cta-link-secondary:hover {
  color: #ffffff;
  gap: 10px;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .branches-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .cta-stat-divider {
    display: none;
  }

  .cta-stat {
    padding: 0 16px;
  }
}

@media (max-width: 768px) {
  .contact-section,
  .contact-cta {
    padding-left: 4%;
    padding-right: 4%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .branches-grid {
    grid-template-columns: 1fr;
  }

  .cta-stats {
    gap: 12px;
  }

  .cta-stat {
    padding: 0 8px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-btn-primary {
    width: 100%;
    justify-content: center;
  }
}
