/* JC LEGAL CENTER — colores de marca (azul marino, rojo, blanco, dorado) */
:root {
  --color-navy: #0a1f44;
  --color-navy-mid: #132d5c;
  --color-red: #c41e3a;
  --color-red-hover: #a01830;
  --color-gold: #c9a227;
  --color-bg: #f4f6fa;
  --color-surface: #ffffff;
  --color-ink: #1a2744;
  --color-muted: #4a5568;
  --color-accent: var(--color-red);
  --color-accent-soft: var(--color-gold);
  --color-border: rgba(10, 31, 68, 0.14);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --shadow-sm: 0 1px 3px rgba(10, 31, 68, 0.1);
  --shadow-md: 0 12px 40px rgba(10, 31, 68, 0.12);
  --radius: 6px;
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-ink);
  background: var(--color-bg);
}

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--color-red);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, 100% - 2rem);
  margin-inline: auto;
  min-height: var(--header-h);
  padding-block: 0.5rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-navy);
  text-decoration: none;
}

.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
}

.logo-text span {
  font-weight: 500;
  color: var(--color-red);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav a {
  color: var(--color-ink);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--color-red);
}

.nav-cta {
  padding: 0.5rem 1rem;
  background: var(--color-red);
  color: #fff !important;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--color-red-hover);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-ink);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius);
  }

  .site-nav a:hover {
    background: var(--color-bg);
    text-decoration: none;
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(92vh, 820px);
  display: flex;
  align-items: center;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr 1.05fr;
    gap: 2rem 3rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-mid) 55%, #0d2248 100%),
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(196, 30, 58, 0.2), transparent);
  z-index: 0;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.6;
}

.hero-content {
  width: 100%;
  text-align: center;
  color: #f0ebe3;
}

@media (min-width: 960px) {
  .hero-content {
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

.hero-tag {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin: 0 0 1rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.35rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: #fff;
}

.hero-lead {
  font-size: 1.1rem;
  color: rgba(240, 235, 227, 0.88);
  max-width: 36rem;
  margin: 0 auto 2rem;
}

@media (min-width: 960px) {
  .hero-lead {
    margin-inline: 0;
  }
}

.hero-gallery {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}

.hero-gallery-label {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  text-align: center;
}

.hero-carousel {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 3px solid var(--color-red);
  overflow: hidden;
}

.hero-slides {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #eef1f6;
}

.hero-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

.hero-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  background: var(--color-navy);
}

.hero-carousel-btn {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: none;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.hero-carousel-btn:hover {
  background: var(--color-red);
}

.hero-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.hero-dot {
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.hero-dot.is-active {
  background: var(--color-gold);
  transform: scale(1.2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
}

.btn-primary:hover {
  background: var(--color-red-hover);
  border-color: var(--color-red-hover);
  text-decoration: none;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  text-decoration: none;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.section-head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 3rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  margin: 0 0 0.75rem;
}

.section-sub {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.05rem;
}

/* Services */
.services {
  background: var(--color-surface);
}

.service-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.5rem;
}

.service-card {
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(196, 30, 58, 0.35);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  color: var(--color-ink);
}

.service-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.service-card-link {
  margin: 1rem 0 0;
  font-size: 0.92rem;
}

.service-card-link a {
  font-weight: 600;
}

.service-card--more {
  background: linear-gradient(145deg, var(--color-navy) 0%, var(--color-navy-mid) 100%);
  border-color: transparent;
  color: #e8e4dc;
}

.service-card--more h3 {
  color: #fff;
}

.service-card--more p {
  color: rgba(232, 228, 220, 0.85);
}

/* About */
.about {
  background: var(--color-bg);
}

.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  margin: 0 0 1.25rem;
}

.about-text p {
  margin: 0 0 1rem;
  color: var(--color-muted);
}

.about-list {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  color: var(--color-ink);
}

.about-list li {
  margin-bottom: 0.5rem;
}

.about-panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-photo {
  margin: 0;
  border-radius: calc(var(--radius) - 4px);
  overflow: hidden;
  border: 3px solid var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.about-photo img {
  display: block;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.about-panel blockquote {
  margin: 0;
}

.about-panel blockquote p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--color-ink);
}

/* Contact */
.contact {
  background: var(--color-surface);
}

.contact-inner {
  display: grid;
  gap: 2rem;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .contact-inner {
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
    gap: 3rem;
  }
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--color-ink);
}

.contact-form-preface {
  margin: 0 0 1.25rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.contact-form-preface a {
  font-weight: 600;
}

.contact-form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form {
  position: relative;
}

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 520px) {
  .form-row--2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.form-group .req {
  color: var(--color-accent);
}

.contact-form select optgroup {
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  color: var(--color-ink);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(196, 30, 58, 0.5);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 7rem;
}

.form-legal {
  margin: 0 0 1.25rem;
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-muted);
}

.btn-submit {
  width: 100%;
  border: none;
  cursor: pointer;
}

@media (min-width: 480px) {
  .btn-submit {
    width: auto;
    min-width: 12rem;
  }
}

.contact-card code {
  font-size: 0.85em;
  background: rgba(26, 31, 46, 0.06);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

.contact-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  margin: 0 0 1rem;
}

.contact-intro p {
  margin: 0;
  color: var(--color-muted);
}

.contact-card {
  padding: 2rem;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.contact-note {
  margin: 0 0 1.5rem;
  padding: 0.85rem 1rem;
  background: rgba(10, 31, 68, 0.06);
  border-left: 4px solid var(--color-red);
  font-size: 0.9rem;
  color: var(--color-ink);
}

.contact-details {
  margin: 0;
}

.contact-details > div {
  margin-bottom: 1.25rem;
}

.contact-details > div:last-child {
  margin-bottom: 0;
}

.contact-details dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
}

.contact-details dd {
  margin: 0;
  font-size: 1.05rem;
}

.contact-details a {
  color: var(--color-ink);
  font-weight: 600;
}

.contact-details a:hover {
  color: var(--color-accent);
}

.contact-map {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

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

@media (min-width: 700px) {
  .contact-map iframe {
    height: 300px;
  }
}

.contact-map-link {
  margin: 0;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  text-align: center;
  background: rgba(10, 31, 68, 0.04);
  border-top: 1px solid var(--color-border);
}

.contact-map-link a {
  font-weight: 600;
  color: var(--color-navy);
}

.contact-map-link a:hover {
  color: var(--color-red);
}

.contact-intro-extra {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.contact-intro-extra a {
  font-weight: 600;
}

.contact-intro-lang {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--color-muted);
}

.contact-intro-lang strong {
  color: var(--color-ink);
}

.contact-intro-lang a {
  font-weight: 600;
}

.contact-lang-note {
  font-size: 0.92em;
  color: var(--color-muted);
}

/* Plantilla DS-160 (referencia local, sin envío) */
.ds160-section {
  background: linear-gradient(180deg, var(--color-bg) 0%, #fff 100%);
  border-top: 3px solid var(--color-navy);
  border-bottom: 3px solid var(--color-red);
}

.ds160-intro {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  max-width: 42rem;
  margin: 0 auto 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.ds160-badge {
  margin: 0;
  font-size: 1.75rem;
  line-height: 1;
}

.ds160-intro-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.ds160-intro-text > p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.ds160-intro-extra {
  font-size: 0.93rem;
  line-height: 1.55;
}

.ds160-lang-note {
  color: var(--color-muted);
  font-size: 0.92em;
}

.ds160-intro strong {
  color: var(--color-ink);
}

.ds160-doc {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem 1.75rem 2.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.ds160-disclaimer {
  margin: 0 0 2rem;
  padding: 1rem 1.15rem;
  background: rgba(10, 31, 68, 0.06);
  border-left: 4px solid var(--color-navy);
  font-size: 0.92rem;
  color: var(--color-ink);
}

.ds160-intro a,
.ds160-disclaimer a {
  font-weight: 600;
  text-underline-offset: 2px;
}

.ds160-block {
  padding: 1.75rem 0;
  border-top: 1px solid var(--color-border);
}

.ds160-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

.ds160-block h3 {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 1.25rem;
  color: var(--color-ink);
}

.ds160-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.35rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--color-red);
  color: #fff;
  border-radius: var(--radius);
}

.ds160-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .ds160-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ds160-grid .ds160-field--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .ds160-grid:has(.ds160-field:nth-child(3)) {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ds160-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.ds160-field label,
.ds160-fieldset legend {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.ds160-fieldset {
  margin: 0 0 1rem;
  padding: 0;
  border: none;
}

.ds160-fieldset legend {
  padding: 0;
  margin-bottom: 0.4rem;
}

.ds160-field input,
.ds160-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-ink);
  width: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.ds160-field textarea {
  resize: vertical;
  min-height: 4rem;
}

.ds160-field input:focus,
.ds160-field textarea:focus {
  outline: none;
  border-color: rgba(196, 30, 58, 0.45);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.12);
}

.ds160-yesno {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.ds160-yesno label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: normal;
  color: var(--color-ink);
  cursor: pointer;
}

.ds160-yesno input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--color-accent);
}

.ds160-yesno--wrap {
  align-items: center;
}

.ds160-inline-field {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 12rem;
}

.ds160-inline-field label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-muted);
  white-space: nowrap;
}

.ds160-inline-field input {
  flex: 1;
  min-width: 0;
  padding: 0.45rem 0.65rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
}

.ds160-subhead {
  margin: 1.25rem 0 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.ds160-hint {
  margin: 0.5rem 0 0.75rem;
  font-size: 0.88rem;
  color: var(--color-muted);
  font-style: italic;
}

.ds160-security-list {
  margin: 0 0 1rem;
  padding-left: 0;
  list-style: none;
}

.ds160-security-list li {
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.85rem;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  font-size: 0.95rem;
  line-height: 1.5;
}

.ds160-security-list label {
  margin-right: 0.35rem;
  font-weight: 500;
  cursor: pointer;
}

.ds160-security-list input {
  margin-right: 0.2rem;
  accent-color: var(--color-accent);
  vertical-align: middle;
}

.ds160-print-hint {
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--color-border);
  font-size: 0.88rem;
  color: var(--color-muted);
}

.ds160-to-contact {
  text-align: center;
  margin: 2rem 0 0;
  font-size: 1rem;
  color: var(--color-muted);
}

.ds160-to-contact a {
  font-weight: 600;
}

.ds160-submit-wrap {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--color-border);
  text-align: center;
}

.ds160-send-note {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.ds160-submit-btn {
  min-width: 16rem;
  border: none;
  cursor: pointer;
}

.form-summary-hidden {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.ds160-date-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}

.ds160-date-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.35rem 0.5rem;
}

.ds160-date-part-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 4.5rem;
}

.ds160-date-part-wrap label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-muted);
}

.ds160-date-part {
  width: 100%;
  padding: 0.5rem 0.55rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
}

.ds160-date-part::-webkit-outer-spin-button,
.ds160-date-part::-webkit-inner-spin-button {
  opacity: 1;
}

.ds160-date-sep {
  align-self: center;
  padding-bottom: 0.55rem;
  font-weight: 700;
  color: var(--color-muted);
}

.ds160-block--envio {
  background: rgba(10, 31, 68, 0.04);
  padding: 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.ds160-block--envio .ds160-num {
  background: var(--color-navy);
}

.ds160-field .req {
  color: var(--color-red);
}

@media print {
  .site-header,
  .hero,
  #servicios,
  #nosotros,
  #contacto,
  .site-footer,
  .nav-toggle,
  .ds160-to-contact,
  .ds160-print-hint {
    display: none !important;
  }

  .ds160-section {
    background: #fff;
    padding: 0;
  }

  .ds160-intro {
    box-shadow: none;
  }

  .ds160-doc {
    box-shadow: none;
    border: none;
    max-width: none;
    padding: 0;
  }

  .ds160-block {
    break-inside: avoid;
  }
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 2rem 0;
  border-top: 4px solid var(--color-red);
}

.footer-tagline {
  width: 100%;
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--color-gold);
  text-align: center;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem;
}

.footer-inner .footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.footer-inner .footer-copy {
  width: 100%;
  text-align: center;
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.25rem;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-nav a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  width: 100%;
}

.footer-social a {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
}

.footer-social a:hover {
  background: var(--color-red);
  border-color: var(--color-red);
  text-decoration: none;
}

.jc-setup-banner {
  padding: 1.25rem 0;
  background: #fff8e6;
  border-top: 3px solid var(--color-gold);
  border-bottom: 3px solid var(--color-gold);
  color: var(--color-ink);
  font-size: 0.95rem;
  line-height: 1.55;
}

.jc-setup-banner[hidden] {
  display: none;
}

.jc-setup-banner ol {
  margin: 0.5rem 0 0.75rem 1.25rem;
  padding: 0;
}

.jc-setup-banner-note {
  margin: 0;
  font-size: 0.9rem;
}

.form-feedback {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  background: rgba(196, 30, 58, 0.1);
  border-left: 4px solid var(--color-red);
  color: var(--color-ink);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-feedback[hidden] {
  display: none;
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
}

/* Thank you page */
.thanks-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  text-align: center;
  background: var(--color-bg);
}

.thanks-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-ink);
  margin: 0 0 2rem;
}

.thanks-brand span {
  font-weight: 500;
  color: var(--color-accent);
}

.thanks-page h1 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 600;
  margin: 0 0 1rem;
  color: var(--color-ink);
}

.thanks-page .thanks-lead {
  max-width: 28rem;
  margin: 0 0 1rem;
  color: var(--color-muted);
}

.thanks-extra {
  max-width: 32rem;
  margin: 0 auto 1.75rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--color-muted);
  text-align: left;
}

.thanks-extra a {
  font-weight: 600;
}

.thanks-links {
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
  color: var(--color-muted);
}

.thanks-links a {
  font-weight: 600;
}

.thanks-page .btn {
  text-decoration: none;
}

dt {
  font-size: 16px;
}

dt a {
  font-size: 16px;
}
