/* =========================================================
   DAVIDA OIL — MODERN CONTACT PAGE
   Responsive, flexible and brand-consistent.
   ========================================================= */

.contact-modern-section {
  position: relative;
  padding: clamp(58px, 7vw, 96px) 0;
  background:
    radial-gradient(circle at 5% 10%, rgba(212,52,92,.08), transparent 24%),
    radial-gradient(circle at 95% 92%, rgba(0,0,102,.07), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  overflow: hidden;
}
.contact-modern-section .contact-shell {
  width: min(100% - 32px, 1320px);
  margin-inline: auto;
}
.contact-modern-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}
.contact-modern-heading .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: #d4345c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}
.contact-modern-heading .eyebrow::before,
.contact-modern-heading .eyebrow::after {
  content: "";
  width: 28px;
  height: 2px;
  background: #d4345c;
  border-radius: 3px;
}
.contact-modern-heading h2 {
  margin: 0 0 14px;
  color: #000066;
  font-size: clamp(32px, 4.2vw, 52px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -.8px;
}
.contact-modern-heading p {
  margin: 0;
  color: #667085;
  font-size: 16px;
  line-height: 1.8;
}

/* Contact info cards */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 38px;
}
.contact-info-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-height: 150px;
  padding: 24px;
  border: 1px solid rgba(0,0,102,.08);
  border-radius: 20px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 38px rgba(15,23,42,.08);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.contact-info-card::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -54px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(212,52,92,.055);
}
.contact-info-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,52,92,.25);
  box-shadow: 0 20px 48px rgba(0,0,102,.12);
}
.contact-info-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #d4345c, #b92149);
  box-shadow: 0 10px 24px rgba(212,52,92,.23);
  font-size: 20px;
}
.contact-info-card h5 {
  margin: 2px 0 8px;
  color: #000066;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.contact-info-card p {
  margin: 0;
  color: #475467;
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

/* Service hours showcase */
.contact-hours-card {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 0;
  margin: 0 0 38px;
  overflow: hidden;
  border: 1px solid rgba(0,0,102,.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(15,23,42,.09);
}
.contact-hours-image {
  min-height: 430px;
  background: #eef2f7;
}
.contact-hours-image img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block;
}
.contact-hours-content {
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-hours-content .brand-logo {
  max-width: 190px;
  height: auto;
  margin-bottom: 16px;
}
.contact-hours-content .hours-label {
  margin-bottom: 22px;
  color: #000066;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}
.hours-list {
  display: grid;
  gap: 14px;
}
.hours-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 15px 16px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid #eef1f5;
}
.hours-badge {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: #d4345c;
  font-weight: 800;
}
.hours-item h6 {
  margin: 1px 0 5px;
  color: #d4345c;
  font-size: 15px;
  line-height: 1.35;
}
.hours-item span {
  color: #667085;
  font-size: 14px;
}

/* Map + Form */
.contact-action-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
}
.map-panel,
.contact-form-panel {
  position: relative;
  min-width: 0;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(0,0,102,.08);
  box-shadow: 0 18px 48px rgba(15,23,42,.10);
  overflow: hidden;
}
.map-panel-header {
  padding: 25px 26px 20px;
  background: linear-gradient(135deg, #000066 0%, #11118a 100%);
  color: #fff;
}
.map-panel-header .map-kicker {
  display: block;
  margin-bottom: 7px;
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.map-panel-header h3 {
  margin: 0;
  color: #fff !important;
  font-size: clamp(22px, 2.3vw, 30px);
  line-height: 1.2;
}
.map-panel-header p {
  margin: 9px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.65;
}
.map-frame-wrap {
  position: relative;
  min-height: 500px;
  background: #e9edf3;
}
.map-frame-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  filter: saturate(.92) contrast(1.03);
}
.map-location-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  max-width: calc(100% - 36px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 999px;
  color: #000066;
  background: rgba(255,255,255,.95);
  border: 1px solid rgba(255,255,255,.7);
  box-shadow: 0 10px 28px rgba(15,23,42,.18);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}
.map-location-badge i { color: #d4345c; }

.contact-form-panel {
  padding: clamp(28px, 3.2vw, 44px);
  overflow: visible;
}
.contact-form-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 5px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, #d4345c, #000066);
}
.contact-form-panel .form-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: #d4345c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.contact-form-panel h3 {
  margin: 0 0 10px;
  color: #000066 !important;
  font-size: clamp(25px, 2.8vw, 34px);
}
.contact-form-panel .form-intro {
  margin-bottom: 26px !important;
  color: #667085;
  line-height: 1.75;
}
.contact-modern-form .form-group {
  position: relative;
  margin-bottom: 16px;
}
.contact-modern-form .form-control {
  width: 100%;
  height: 54px;
  padding: 12px 16px 12px 46px !important;
  border: 1px solid #dce2ea !important;
  border-radius: 14px !important;
  background: #fbfcfe !important;
  color: #1f2937 !important;
  font-size: 14px;
  box-shadow: none !important;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.contact-modern-form textarea.form-control {
  height: auto;
  min-height: 160px;
  padding-top: 15px !important;
  resize: vertical;
}
.contact-modern-form .form-control:focus {
  border-color: rgba(212,52,92,.68) !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(212,52,92,.10) !important;
}
.contact-modern-form .field-icon {
  position: absolute;
  top: 17px;
  left: 17px;
  z-index: 2;
  color: #98a2b3;
  font-size: 15px;
  pointer-events: none;
}
.contact-modern-form .message-icon { top: 17px; }
.contact-modern-form .send-button {
  width: 100%;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  padding: 14px 22px !important;
  border: 0 !important;
  border-radius: 14px !important;
  color: #fff !important;
  background: linear-gradient(135deg, #d4345c 0%, #b92149 100%) !important;
  box-shadow: 0 13px 28px rgba(212,52,92,.25);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .7px;
  text-transform: uppercase;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.contact-modern-form .send-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 34px rgba(212,52,92,.32);
  filter: brightness(1.03);
}
.contact-modern-form .send-button i {
  transition: transform .25s ease;
}
.contact-modern-form .send-button:hover i { transform: translateX(3px) rotate(-7deg); }
.form-security-note {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 7px;
  margin: 12px 0 0;
  color: #98a2b3;
  font-size: 11px;
}
.form-security-note i { color: #000066; }

@media (max-width: 991.98px) {
  .contact-info-grid { grid-template-columns: 1fr; }
  .contact-hours-card { grid-template-columns: 1fr; }
  .contact-hours-image,
  .contact-hours-image img { min-height: 340px; max-height: 430px; }
  .contact-action-grid { grid-template-columns: 1fr; }
  .map-frame-wrap { min-height: 440px; }
}
@media (max-width: 575.98px) {
  .contact-modern-section { padding: 48px 0 60px; }
  .contact-modern-section .contact-shell { width: min(100% - 22px, 1320px); }
  .contact-info-card { padding: 20px; min-height: 0; }
  .contact-hours-image,
  .contact-hours-image img { min-height: 270px; }
  .contact-hours-content { padding: 24px 19px; }
  .hours-item { grid-template-columns: 42px 1fr; padding: 13px; }
  .hours-badge { width: 42px; height: 42px; }
  .map-panel,
  .contact-form-panel,
  .contact-hours-card { border-radius: 18px; }
  .map-panel-header { padding: 21px 19px 18px; }
  .map-frame-wrap { min-height: 360px; }
  .map-location-badge { left: 12px; bottom: 12px; max-width: calc(100% - 24px); border-radius: 14px; }
  .contact-form-panel { padding: 27px 18px 22px; }
  .contact-modern-form .form-control { height: 52px; }
  .contact-modern-form textarea.form-control { min-height: 145px; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-info-card,
  .contact-modern-form .send-button,
  .contact-modern-form .send-button i { transition: none !important; transform: none !important; }
}
