/* SV Ocean Services – Contact Page (home theme) */
.page-contact {
  --sv-gold: #c9a227;
  --sv-gold-dark: #b08d1f;
  --sv-black: #111111;
  --sv-text: #333333;
  --sv-muted: #6b6b6b;
  --sv-light: #f7f7f7;
  --sv-white: #ffffff;
  --sv-teal: #2da397;
  --sv-teal-dark: #248f84;
  --sv-orange: #f39200;
  --sv-radius: 20px;
  --sv-shadow: 0 20px 50px rgba(17, 17, 17, 0.12);
  font-family: 'Poppins', sans-serif;
  color: var(--sv-text);
}

.page-contact .header-v2-container,
.page-contact .hp-container {
  max-width: 1240px;
  padding-left: 40px !important;
  padding-right: 40px !important;
}

.page-contact .header--v2 .menu {
  display: flex;
}

/* Hero banner */
.cp-hero {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  background: url('../images/contact-banner.png') center / cover no-repeat;
}

.cp-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.72) 0%, rgba(255, 255, 255, 0.25) 42%, rgba(255, 255, 255, 0.08) 100%);
}

.cp-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 56px;
  padding-bottom: 56px;
}

.cp-hero-content h1 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 600;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  color: #2b2b2b;
  margin: 0 0 12px;
}

.cp-hero-content h1 i {
  font-size: 0.85em;
  color: var(--sv-gold);
}

.cp-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--sv-muted);
}

.cp-breadcrumb a {
  color: var(--sv-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.cp-breadcrumb a:hover {
  color: var(--sv-gold);
}

.cp-breadcrumb span:last-child {
  color: var(--sv-gold);
}

.cp-breadcrumb .cp-breadcrumb-dot {
  color: var(--sv-gold);
}

/* Main section */
.cp-main {
  padding: 72px 0 80px;
  background: var(--sv-white);
}

.cp-section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sv-orange);
  margin-bottom: 18px;
}

.cp-label-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(90deg, var(--sv-orange) 50%, var(--sv-teal) 50%);
  flex-shrink: 0;
}

.cp-main h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: #2b2b2b;
  margin-bottom: 40px;
}

/* Form card */
.cp-form-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--sv-white);
  border-radius: var(--sv-radius);
  box-shadow: var(--sv-shadow);
  overflow: hidden;
}

.cp-form-visual {
  min-height: 100%;
  background: #1a1a1a;
}

.cp-form-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 480px;
}

.cp-form-body {
  padding: 44px 48px;
}

.cp-form-body h3 {
  font-size: 1.35rem;
  font-weight: 600;
  color: #2b2b2b;
  margin-bottom: 32px;
  text-transform: none;
}

.cp-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px 24px;
}

.cp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cp-field--full {
  grid-column: 1 / -1;
}

.cp-field label {
  font-size: 13px;
  font-weight: 500;
  color: #444444;
}

.cp-field label span {
  color: #e05a5a;
}

.cp-field .form-control {
  padding: 12px 16px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: var(--sv-text);
  background: var(--sv-white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.cp-field .form-control::placeholder {
  color: #aaaaaa;
}

.cp-field .form-control:focus {
  border-color: var(--sv-teal);
  box-shadow: 0 0 0 3px rgba(45, 163, 151, 0.12);
  outline: none;
}

.cp-field textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.cp-btn-send {
  margin-top: 28px;
  padding: 14px 32px;
  border: none;
  border-radius: 0;
  background: var(--sv-gold);
  color: var(--sv-white);
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.cp-btn-send:hover {
  background: var(--sv-gold-dark);
  color: var(--sv-white);
  transform: translateY(-1px);
}

/* Map + contact info */
.cp-map-section {
  width: 100%;
}

.cp-map-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  min-height: 420px;
}

.cp-info-sidebar {
  background: var(--sv-teal);
  color: var(--sv-white);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.cp-info-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 28px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.cp-info-item:last-child {
  border-bottom: none;
}

.cp-info-item i {
  font-size: 18px;
  color: var(--sv-gold);
  margin-top: 3px;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}

.cp-info-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
}

.cp-info-item p + p {
  margin-top: 4px;
}

.cp-map {
  position: relative;
  min-height: 420px;
}

.cp-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive */
@media (max-width: 991px) {
  .cp-form-card {
    grid-template-columns: 1fr;
  }

  .cp-form-visual img {
    min-height: 280px;
  }

  .cp-form-body {
    padding: 36px 32px;
  }

  .cp-map-grid {
    grid-template-columns: 1fr;
  }

  .cp-info-sidebar {
    order: 2;
  }

  .cp-map {
    order: 1;
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .page-contact .header-v2-container,
  .page-contact .hp-container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .cp-hero {
    min-height: 220px;
  }

  .cp-hero-content {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .cp-main {
    padding: 56px 0 64px;
  }

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

  .cp-form-body {
    padding: 28px 24px;
  }

  .cp-info-item {
    padding: 22px 24px;
  }
}
