/* Contacto */

/* Hero: mismo criterio que .rs-hero en recursos.css */
.ct-hero {
  background: var(--green);
  color: #fff;
  padding: clamp(32px, 5vw, 56px) 0 clamp(40px, 6vw, 70px);
  position: relative;
  overflow: hidden;
}

.ct-hero::before {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: min(520px, 60vw);
  height: min(520px, 60vw);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  filter: blur(0.5px);
}

.ct-hero__grid {
  position: relative;
  z-index: 1;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--wrap-gutter);
}

.ct-hero__title {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.ct-hero__subtitle {
  margin: 0 0 22px;
  font-size: 1.02rem;
  line-height: 1.55;
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.94);
}

.ct-section {
  padding: clamp(48px, 6vw, 80px) 0;
}

.ct-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.ct-aside {
  display: grid;
  gap: 16px;
}

.ct-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 18px 16px;
  background: #fff;
  box-shadow: 0 10px 34px rgba(15, 17, 19, 0.06);
}

.ct-card__label {
  margin: 0 0 8px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green);
}

.ct-card__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}

.ct-card__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text);
}

.ct-card__link {
  display: inline-flex;
  margin-top: 12px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
}

.ct-card__link:hover,
.ct-card__link:focus-visible {
  text-decoration: underline;
}

.ct-form {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  padding: 22px 18px 20px;
  box-shadow: 0 10px 34px rgba(15, 17, 19, 0.06);
}

.ct-form h2 {
  margin: 0 0 18px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #111;
}

.ct-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ct-field {
  display: grid;
  gap: 6px;
}

.ct-field label {
  font-size: 0.86rem;
  font-weight: 700;
  color: #111;
}

.ct-field input,
.ct-field textarea,
.ct-field select {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  font: inherit;
  width: 100%;
}

.ct-field textarea {
  min-height: 120px;
  resize: vertical;
}

.ct-field--full {
  grid-column: 1 / -1;
}

.ct-legal {
  margin-top: 20px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(118, 176, 65, 0.28);
  border-radius: 12px;
  background: #fafcf7;
}

.ct-legal__title {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.35;
  color: var(--green);
}

.ct-legal__p {
  margin: 0 0 10px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text);
}

.ct-legal__p:last-of-type {
  margin-bottom: 0;
}

.ct-legal__p strong {
  font-weight: 800;
  color: #111;
}

.ct-legal a {
  color: var(--green);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.ct-legal a:hover,
.ct-legal a:focus-visible {
  color: var(--green-hover);
}

.ct-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(118, 176, 65, 0.2);
}

.ct-check input {
  width: auto;
  margin-top: 4px;
  flex-shrink: 0;
}

.ct-check label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.ct-check .ct-oblig {
  font-weight: 800;
  color: #111;
}

.ct-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

@media (max-width: 900px) {
  .ct-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ct-grid {
    grid-template-columns: 1fr;
  }
}
