.ct-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #1c2331 url("../images/slider/slider1.jpg") center/cover no-repeat;
  color: #fff;
  padding: 36px 0 32px;
}

.ct-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(22, 28, 40, 0.82), rgba(22, 52, 58, 0.72));
  z-index: 0;
}

.ct-hero .container {
  position: relative;
  z-index: 1;
}

.ct-hero h1 {
  margin: 0 0 6px;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.ct-hero .ct-lead {
  margin: 0;
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.ct-crumbs {
  margin: 0 0 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.ct-crumbs a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.ct-crumbs a:hover { color: #20b1aa; }

.ct-page {
  background: #f4f6f8;
  padding: 40px 0 56px;
}

.ct-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #20b1aa;
}

.ct-section-title {
  margin: 0 0 18px;
  font-size: 22px;
  font-weight: 700;
  color: #1c2331;
}

.ct-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 28px;
}

.ct-card {
  background: #fff;
  border: 1px solid #e6ebef;
  border-radius: 16px;
  padding: 18px 18px 16px;
  box-shadow: 0 10px 24px rgba(20, 24, 31, 0.05);
  min-height: 100%;
}

.ct-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #e8f7f6;
  color: #147f7a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.ct-icon svg {
  width: 20px;
  height: 20px;
}

.ct-card h2 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: #1c2331;
}

.ct-card p,
.ct-card a.ct-value {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #5a6570;
}

.ct-card a.ct-value {
  display: inline;
  color: #1c2331;
  font-weight: 600;
  text-decoration: none;
}

.ct-card a.ct-value:hover { color: #20b1aa; }

.ct-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 36px;
}

.ct-map,
.ct-form-card {
  background: #fff;
  border: 1px solid #e6ebef;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(20, 24, 31, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 540px;
}

.ct-map-head,
.ct-form-head {
  padding: 18px 22px 0;
}

.ct-map-head p,
.ct-form-head p {
  margin: 0 0 14px;
  font-size: 13px;
  color: #5a6570;
  line-height: 1.5;
}

.ct-map-frame {
  flex: 1;
  min-height: 420px;
  position: relative;
}

.ct-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.ct-map-actions {
  padding: 12px 22px 16px;
  border-top: 1px solid #eef2f4;
}

.ct-map-actions a {
  font-size: 13px;
  font-weight: 600;
  color: #147f7a;
  text-decoration: none;
}

.ct-map-actions a:hover { color: #20b1aa; }

.ct-form {
  padding: 0 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ct-form .form-group {
  margin-bottom: 12px;
}

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

.ct-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #3d4750;
}

.ct-form input,
.ct-form textarea {
  width: 100%;
  border: 1px solid #d7dee3;
  border-radius: 10px;
  padding: 11px 12px;
  font-family: inherit;
  font-size: 14px;
  background: #fff;
  color: #1c2331;
}

.ct-form textarea {
  min-height: 120px;
  resize: vertical;
}

.ct-form input:focus,
.ct-form textarea:focus {
  outline: none;
  border-color: #20b1aa;
  box-shadow: 0 0 0 4px rgba(32, 177, 170, 0.12);
}

.ct-error {
  display: none;
  background: #fdecec;
  color: #9b2c2c;
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  margin-bottom: 12px;
}

.ct-error.is-visible { display: block; }

.ct-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.ct-btn {
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ct-btn-primary {
  background: #20b1aa;
  color: #fff;
}

.ct-btn-primary:hover { background: #189a94; color: #fff; }

.ct-btn-ghost {
  background: #fff;
  color: #1c2331;
  border: 1px solid #d7dee3;
}

.ct-btn-ghost:hover {
  border-color: #20b1aa;
  color: #147f7a;
}

.ct-hint {
  margin: 12px 0 0;
  font-size: 12px;
  color: #6b757c;
  line-height: 1.45;
}

.ct-areas {
  margin-bottom: 28px;
}

.ct-area-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.ct-area {
  background: #fff;
  border: 1px solid #e6ebef;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 24px rgba(20, 24, 31, 0.05);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ct-area h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: #1c2331;
}

.ct-area a {
  font-size: 13px;
  color: #147f7a;
  text-decoration: none;
  word-break: break-word;
}

.ct-area a:hover { color: #20b1aa; }

.ct-area .ct-phones {
  margin: 0;
  font-size: 13px;
  color: #5a6570;
}

.ct-area .ct-phones a {
  color: #1c2331;
  font-weight: 600;
}

.ct-cita {
  background: #1c2331;
  color: #fff;
  border-radius: 18px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ct-cita h2 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.ct-cita p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.ct-cita .btn {
  border-radius: 10px;
  padding: 11px 18px;
  font-weight: 600;
  white-space: nowrap;
}

@media (max-width: 992px) {
  .ct-cards {
    grid-template-columns: 1fr 1fr;
  }

  .ct-split {
    grid-template-columns: 1fr;
  }

  .ct-map,
  .ct-form-card {
    min-height: 0;
  }

  .ct-map-frame {
    min-height: 320px;
  }
}

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

  .ct-actions {
    flex-direction: column;
  }

  .ct-btn { width: 100%; }
}
