/* Landing /contacto/ — Mendoza Insights */

.ct-page {
  --ct-navy: #1f3575;
  --ct-steel: #19507a;
  --ct-mint: #2fa486;
  --ct-orange: #eb7300;
  --ct-text: #334155;
  --ct-muted: #64748b;
  --ct-border: #e2e8f0;
  --ct-soft: #f8fafc;
  color: var(--ct-text);
  font-family: Inter, -apple-system, sans-serif;
  background: #fff;
}

.ct-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ct-page main {
  padding-top: 0;
}

.ct-container {
  width: min(calc(100% - 2rem), 74rem);
  margin-inline: auto;
}

@media (min-width: 1440px) {
  .ct-container,
  .ct-page .faq-section__inner.ct-container {
    width: min(calc(100% - 3rem), 80rem);
  }
}

/* Breadcrumbs */
.ct-breadcrumbs {
  padding: 0 0 0.5rem;
}

.ct-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.78rem;
  color: var(--ct-muted);
}

.ct-breadcrumbs__list a {
  color: var(--ct-steel);
  font-weight: 600;
  text-decoration: none;
}

.ct-breadcrumbs__list a:hover,
.ct-breadcrumbs__list a:focus-visible {
  color: var(--ct-navy);
  text-decoration: underline;
}

.ct-breadcrumbs__sep {
  color: #94a3b8;
}

.ct-breadcrumbs__current {
  color: var(--ct-text);
}

/* Hero */
.ct-hero {
  padding: 1.35rem 0 2.75rem;
  background:
    linear-gradient(135deg, rgba(31, 53, 117, 0.05) 0%, transparent 42%),
    linear-gradient(320deg, rgba(47, 164, 134, 0.07) 0%, transparent 40%),
    linear-gradient(180deg, #f2f5fa 0%, #fff 100%);
}

@media (min-width: 1024px) {
  .ct-hero {
    padding-top: 1rem;
  }
}

.ct-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.88fr);
  align-items: center;
  gap: clamp(2rem, 4.5vw, 4.5rem);
}

.ct-hero__copy {
  min-width: 0;
  max-width: 42rem;
}

.ct-hero__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ct-steel);
}

.ct-hero__title {
  margin: 0 0 0.85rem;
  max-width: 20ch;
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(1.75rem, 4.2vw, 2.55rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ct-navy);
}

.ct-hero__lead {
  margin: 0;
  max-width: 38rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ct-text);
}

.ct-hero__sublead {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--ct-muted);
}

.ct-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.ct-hero__note {
  margin: 1rem 0 0;
  max-width: 34rem;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--ct-muted);
}

/* Buttons */
.ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 6px;
  border: 1px solid transparent;
  font-family: Inter, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.ct-btn:focus-visible {
  outline: 2px solid var(--ct-navy);
  outline-offset: 2px;
}

.ct-btn--primary {
  background: var(--ct-orange);
  color: #fff;
}

.ct-btn--primary:hover {
  background: #d46500;
}

.ct-btn--secondary {
  background: #fff;
  color: var(--ct-navy);
  border-color: var(--ct-border);
}

.ct-btn--secondary:hover {
  border-color: var(--ct-navy);
  color: var(--ct-navy);
}

.ct-btn--ghost {
  background: transparent;
  color: var(--ct-steel);
  border-color: var(--ct-border);
}

.ct-btn--ghost:hover {
  color: var(--ct-navy);
  border-color: var(--ct-steel);
}

/* Hero panel */
.ct-panel {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--ct-border);
  border-radius: 10px;
  box-shadow: 0 8px 28px rgba(31, 53, 117, 0.07);
}

.ct-panel__header {
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--ct-border);
}

.ct-panel__header span {
  display: block;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ct-muted);
}

.ct-panel__header strong {
  display: block;
  margin-top: 0.25rem;
  font-family: Merriweather, Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ct-navy);
}

.ct-panel__options {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-panel__option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0.7rem;
  border-radius: 8px;
  background: var(--ct-soft);
}

.ct-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 8px;
  background: rgba(31, 53, 117, 0.07);
  color: var(--ct-navy);
}

.ct-panel__icon svg {
  width: 18px;
  height: 18px;
}

.ct-panel__option strong {
  display: block;
  font-size: 0.82rem;
  color: var(--ct-navy);
}

.ct-panel__option p {
  margin: 0.15rem 0 0;
  font-size: 0.74rem;
  line-height: 1.45;
  color: var(--ct-muted);
}

/* Sections */
.ct-section {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.ct-section--soft {
  background: var(--ct-soft);
}

.ct-section__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ct-steel);
}

.ct-section__title {
  margin: 0 0 1.25rem;
  max-width: 28ch;
  font-family: Merriweather, Georgia, serif;
  font-size: clamp(1.45rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--ct-navy);
}

/* Help blocks */
.ct-help-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ct-help-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid var(--ct-border);
  border-radius: 10px;
}

.ct-section--soft .ct-help-card {
  background: #fff;
}

.ct-help-card h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ct-navy);
}

.ct-help-card p {
  margin: 0;
  flex: 1;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ct-muted);
}

.ct-help-card .ct-btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* Form */
.ct-form-wrap {
  max-width: 36rem;
}

.ct-form {
  display: grid;
  gap: 1rem;
}

.ct-field {
  display: grid;
  gap: 0.35rem;
}

.ct-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ct-navy);
}

.ct-field input,
.ct-field select,
.ct-field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--ct-border);
  border-radius: 6px;
  background: #fff;
  font-family: Inter, sans-serif;
  font-size: 0.9rem;
  color: var(--ct-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ct-field input:focus,
.ct-field select:focus,
.ct-field textarea:focus {
  outline: none;
  border-color: var(--ct-steel);
  box-shadow: 0 0 0 3px rgba(25, 80, 122, 0.12);
}

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

.ct-field input[aria-invalid="true"],
.ct-field select[aria-invalid="true"],
.ct-field textarea[aria-invalid="true"] {
  border-color: #dc2626;
}

.ct-field__error {
  margin: 0;
  font-size: 0.75rem;
  color: #b91c1c;
}

.ct-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.ct-consent input {
  width: 18px;
  height: 18px;
  margin-top: 0.15rem;
  flex: 0 0 18px;
  accent-color: var(--ct-navy);
}

.ct-consent label {
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ct-text);
}

.ct-consent a {
  color: var(--ct-steel);
  font-weight: 600;
}

.ct-form__submit {
  width: 100%;
}

.ct-form__privacy {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.5;
  color: var(--ct-muted);
}

.ct-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.ct-form__status {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem;
  border-radius: 6px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.ct-form__status--success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.ct-form__status--error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.ct-hidden {
  display: none;
}

.ct-form__submit-loading {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
}

.ct-form__spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: ct-spin 0.7s linear infinite;
}

@keyframes ct-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Channels */
.ct-channels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ct-channel {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid var(--ct-border);
  border-radius: 10px;
}

.ct-channel h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--ct-navy);
}

.ct-channel p {
  margin: 0 0 1rem;
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--ct-muted);
}

/* Instagram card */
.ct-instagram {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
  align-items: center;
}

.ct-carousel {
  min-width: 0;
}

.ct-carousel__viewport {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--ct-border);
  background: #0f172a;
}

.ct-carousel__track {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ct-carousel__slide {
  margin: 0;
}

.ct-carousel__slide[hidden] {
  display: none;
}

.ct-carousel__slide img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 1350;
  object-fit: cover;
}

.ct-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.55);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, opacity 0.2s ease;
}

.ct-carousel__nav:hover:not(:disabled),
.ct-carousel__nav:focus-visible {
  background: rgba(15, 23, 42, 0.82);
}

.ct-carousel__nav:focus-visible {
  outline: 2px solid #69d1b7;
  outline-offset: 2px;
}

.ct-carousel__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.ct-carousel__nav--prev {
  left: 0.65rem;
}

.ct-carousel__nav--next {
  right: 0.65rem;
}

.ct-carousel__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.7rem;
}

.ct-carousel__dots {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.ct-carousel__dot {
  width: 0.45rem;
  height: 0.45rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.ct-carousel__dot.is-active {
  background: var(--ct-navy);
  transform: scale(1.2);
}

.ct-carousel__dot:focus-visible {
  outline: 2px solid #69d1b7;
  outline-offset: 2px;
}

.ct-carousel__status {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ct-muted);
  white-space: nowrap;
}

.ct-instagram__caption {
  margin-top: 0.75rem;
}

.ct-instagram__caption p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--ct-navy);
  font-weight: 600;
}

.ct-instagram__caption p + p {
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ct-muted);
}

.ct-instagram__copy h3 {
  margin: 0 0 0.65rem;
  font-family: Merriweather, Georgia, serif;
  font-size: 1.15rem;
  color: var(--ct-navy);
}

.ct-instagram__copy p {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--ct-muted);
}

.ct-instagram__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Trust */
.ct-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.ct-trust-item {
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid var(--ct-border);
  border-radius: 10px;
}

.ct-trust-item h3 {
  margin: 0 0 0.4rem;
  font-size: 0.9rem;
  color: var(--ct-navy);
}

.ct-trust-item p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--ct-muted);
}

/* Quick links */
.ct-links {
  display: grid;
  gap: 0.65rem;
}

.ct-link-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35rem 1rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid var(--ct-border);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.ct-section--soft .ct-link-item {
  background: #fff;
}

.ct-link-item:hover,
.ct-link-item:focus-visible {
  border-color: var(--ct-steel);
  background: rgba(25, 80, 122, 0.03);
}

.ct-link-item strong {
  font-size: 0.88rem;
  color: var(--ct-navy);
}

.ct-link-item span {
  font-size: 0.8rem;
  color: var(--ct-muted);
}

.ct-link-item svg {
  flex: 0 0 16px;
  color: var(--ct-steel);
}

/* Reveal */
.ct-motion .ct-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.ct-motion .ct-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .ct-hero__layout,
  .ct-instagram,
  .ct-channels,
  .ct-help-grid,
  .ct-trust-grid {
    grid-template-columns: 1fr;
  }

  .ct-hero__actions,
  .ct-instagram__actions {
    flex-direction: column;
  }

  .ct-hero__actions .ct-btn,
  .ct-instagram__actions .ct-btn,
  .ct-help-card .ct-btn,
  .ct-channel .ct-btn {
    width: 100%;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .ct-motion .ct-reveal,
  .ct-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .ct-form__spinner {
    animation: none;
  }
}
