/* ===================================
   PÁGINAS INTERNAS — estilos compartidos
   =================================== */

/* ===== PAGE HEADER ===== */
.page-header {
  padding-top: 84px;
  position: relative;
  background: url('fondo3.webp') center center / cover no-repeat;
}

.page-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,.55) 0%,
    rgba(0,0,0,.25) 60%,
    rgba(0,0,0,.1) 100%
  );
}

.page-header-inner {
  position: relative;
  z-index: 1;
  max-width: 1140px;
  margin: 0 auto;
  padding: 56px 32px 52px;
  text-align: left !important;
}

.page-header-title,
.page-header-breadcrumb,
.page-header-sub {
  text-align: left !important;
}

.page-header-breadcrumb {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.page-header-breadcrumb a {
  color: rgba(255,255,255,.6);
  transition: color .2s;
}

.page-header-breadcrumb a:hover { color: var(--white); }

.page-header-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
}

.page-header-sub {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  margin-top: 12px;
  max-width: 480px;
  line-height: 1.7;
}

/* ===== SECCIÓN GENÉRICA ===== */
.page-section {
  padding: 80px 0;
  background: var(--cream);
}

.page-section--alt {
  background: var(--cream-dk);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ===== LAYOUT DOS COLUMNAS ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.two-col--wide {
  grid-template-columns: 1.2fr 1fr;
}

/* ===== FORMULARIOS ===== */
.form-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

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

.form-field label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.form-field input,
.form-field select,
.form-field textarea {
  border: 1px solid var(--border);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--black);
  padding: 12px 14px;
  outline: none;
  transition: border-color .2s;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-color: var(--white);
  padding-right: 36px;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--black);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--gray-lt);
}

/* Radio buttons */
.radio-group {
  display: flex;
  gap: 24px;
  padding-top: 4px;
}

.radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 14px;
  color: var(--black);
}

.radio-option input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: var(--black);
  cursor: pointer;
  flex-shrink: 0;
}

.form-submit {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.btn-submit {
  background: var(--black);
  color: var(--white);
  border: none;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 16px 36px;
  cursor: pointer;
  transition: background .2s;
}

.btn-submit:hover { background: #333; }

.form-note {
  font-size: 12px;
  color: var(--gray-lt);
}

.form-msg {
  font-size: 13px;
  padding: 12px 16px;
  display: none;
}

.form-msg.ok  { background: #f0f7f0; color: #2d6a2d; border: 1px solid #b8d8b8; }
.form-msg.err { background: #fdf0f0; color: #8b2222; border: 1px solid #e8b8b8; }

/* ===== INFO CARD ===== */
.info-card {
  background: var(--cream-dk);
  border: 1px solid var(--border);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.info-item-icon {
  width: 20px;
  height: 20px;
  color: var(--gray);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-item-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.info-item-content p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.6;
}

.info-item-content a {
  color: var(--gray);
  transition: color .2s;
}

.info-item-content a:hover { color: var(--black); }

.info-item-label {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-lt);
  margin-bottom: 4px;
}

/* ===== NOSOTROS ===== */
.nosotros-text p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.85;
  margin-bottom: 20px;
}

.nosotros-text p:last-child { margin-bottom: 0; }

.nosotros-text .lead {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--black);
  line-height: 1.5;
  margin-bottom: 24px;
}

/* ===== MAP ===== */
.map-wrap {
  margin-top: 0;
  border: 1px solid var(--border);
  overflow: hidden;
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 260px;
  border: none;
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 860px) {
  .two-col,
  .two-col--wide {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .page-section { padding: 56px 0; }
}

@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .page-header-inner { padding: 36px 20px 32px; }
  .info-card { padding: 28px 20px; }
}
