/* ============================================================
   Citas Trans Argentina - Main Stylesheet
   Modern Latin Editorial Dating Style
   Mobile-first, responsive, clean
   ============================================================ */

/* --- CSS Variables --- */
:root {
  --color-bg: #fdfaf7;
  --color-bg-alt: #f5efe8;
  --color-bg-card: #ffffff;
  --color-bg-lavender: #f3eef9;
  --color-bg-coral: #fef5f3;

  --color-text: #2d2a2a;
  --color-text-light: #5c5757;
  --color-text-muted: #8a8383;

  --color-heading: #3a2a4a;
  --color-accent: #c5655a;
  --color-accent-hover: #a84e44;
  --color-secondary: #5a7d8a;
  --color-secondary-light: #e8f0f3;

  --color-border: #e0d8cf;
  --color-border-light: #ede7df;

  --color-cta-bg: #c5655a;
  --color-cta-text: #ffffff;
  --color-cta-hover: #b35045;

  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: Georgia, 'Times New Roman', serif;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm: 0 1px 3px rgba(58,42,74,0.06);
  --shadow-md: 0 4px 16px rgba(58,42,74,0.08);
  --shadow-lg: 0 8px 32px rgba(58,42,74,0.10);

  --max-width: 1100px;
  --max-width-narrow: 780px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-heading);
  line-height: 1.25;
}

h1 {
  font-size: clamp(1.75rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: var(--space-lg);
}

h2 {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 700;
  margin-bottom: var(--space-md);
  margin-top: var(--space-2xl);
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  margin-top: var(--space-lg);
}

p {
  margin-bottom: var(--space-md);
}

strong {
  color: var(--color-heading);
}

ul, ol {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

li {
  margin-bottom: var(--space-sm);
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--max-width-narrow);
}

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253,250,247,0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--space-sm) 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  text-decoration: none;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
}

.brand img {
  height: 36px;
  width: auto;
}

.brand:hover {
  color: var(--color-accent);
}

/* --- Navigation --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 500;
  padding: var(--space-xs) 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* Cities dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-toggle::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -3px;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-md);
  min-width: 220px;
  list-style: none;
  z-index: 200;
}

.nav-dropdown-menu.show {
  display: block;
}

.nav-dropdown-menu li {
  margin: 0;
}

.nav-dropdown-menu a {
  display: block;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  border-bottom: none;
}

.nav-dropdown-menu a:hover {
  background: var(--color-bg-alt);
  border-bottom: none;
}

/* --- Mobile Menu --- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
  color: var(--color-heading);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-heading);
  margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
  border-radius: 2px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-card);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: var(--space-lg);
    gap: var(--space-md);
    box-shadow: var(--shadow-md);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    padding: var(--space-sm) 0 0 var(--space-lg);
  }
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(58,42,74,0.85) 0%, rgba(58,42,74,0.55) 50%, rgba(58,42,74,0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
  padding: var(--space-2xl) var(--space-lg);
}

.hero h1 {
  color: #ffffff;
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  margin-bottom: var(--space-xl);
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero .btn-cta {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: var(--space-xl) var(--space-md);
  }
}

/* --- Buttons --- */
.btn-cta {
  display: inline-block;
  background: var(--color-cta-bg);
  color: var(--color-cta-text);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-xl);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  box-shadow: 0 4px 14px rgba(197,101,90,0.3);
}

.btn-cta:hover {
  background: var(--color-cta-hover);
  color: var(--color-cta-text);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197,101,90,0.4);
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--color-accent);
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-xl);
  border: 2px solid var(--color-accent);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-secondary:hover {
  background: var(--color-accent);
  color: #ffffff;
}

/* --- Sections --- */
.section {
  padding: var(--space-3xl) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-lavender {
  background: var(--color-bg-lavender);
}

.section-coral {
  background: var(--color-bg-coral);
}

.section-title {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: var(--space-2xl);
}

.section-title h2 {
  margin-top: 0;
}

/* --- Cards --- */
.card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.card h3 {
  margin-top: 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.card-grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

@media (max-width: 768px) {
  .card-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* --- City Grid --- */
.city-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-lg);
}

.city-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.2s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.city-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  color: inherit;
}

.city-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  background: var(--color-secondary-light);
}

.city-card-body {
  padding: var(--space-lg);
}

.city-card-body h3 {
  font-size: 1.15rem;
  margin: 0 0 var(--space-sm);
  color: var(--color-heading);
}

.city-card-body p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin: 0;
}

/* --- Do / Don't Blocks --- */
.do-dont-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  .do-dont-grid {
    grid-template-columns: 1fr;
  }
}

.do-card {
  background: var(--color-secondary-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border-left: 4px solid var(--color-secondary);
}

.dont-card {
  background: var(--color-bg-coral);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border-left: 4px solid var(--color-accent);
}

.do-card h3, .dont-card h3 {
  margin-top: 0;
}

/* --- Checklist --- */
.checklist {
  list-style: none;
  padding: 0;
}

.checklist li {
  padding: var(--space-md) 0 var(--space-md) 2rem;
  position: relative;
  border-bottom: 1px solid var(--color-border-light);
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-secondary);
  font-weight: 700;
}

.checklist-warn li::before {
  content: '!';
  color: var(--color-accent);
  font-weight: 700;
}

/* --- Warning Signs --- */
.warning-card {
  background: var(--color-bg-coral);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.warning-card h3 {
  color: var(--color-accent);
  margin-top: 0;
}

/* --- Steps --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-xl);
  counter-reset: step;
}

.step {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border-light);
  position: relative;
  padding-top: var(--space-3xl);
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  width: 40px;
  height: 40px;
  background: var(--color-accent);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.step h3 {
  margin-top: 0;
  font-size: 1.15rem;
}

/* --- FAQ --- */
.faq-list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border-light);
  padding: var(--space-lg) 0;
}

.faq-item:first-child {
  border-top: 1px solid var(--color-border-light);
}

.faq-item h3 {
  font-size: 1.1rem;
  cursor: default;
  margin: 0 0 var(--space-sm);
  font-family: var(--font-heading);
}

.faq-item p {
  color: var(--color-text-light);
  margin: 0;
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  padding: var(--space-3xl) 0;
  background: linear-gradient(135deg, var(--color-bg-lavender) 0%, var(--color-bg-coral) 100%);
  border-radius: var(--radius-lg);
  margin-top: var(--space-2xl);
}

.cta-section h2 {
  margin-top: 0;
  margin-bottom: var(--space-sm);
}

.cta-section p {
  color: var(--color-text-light);
  max-width: 500px;
  margin: 0 auto var(--space-xl);
}

/* --- Criteria Cards --- */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.criteria-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-sm);
}

.criteria-card h3 {
  margin-top: 0;
  color: var(--color-heading);
}

.criteria-card .criteria-icon {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

/* --- Legal Pages --- */
.legal-content {
  max-width: var(--max-width-narrow);
  margin: var(--space-2xl) auto var(--space-3xl);
  padding: 0 var(--space-lg);
}

.legal-content h2 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  margin-top: var(--space-2xl);
  color: var(--color-heading);
}

.legal-content ul {
  list-style: disc;
}

.legal-content a {
  text-decoration: underline;
}

/* --- Footer --- */
.site-footer {
  background: var(--color-heading);
  color: #c8bfd4;
  padding: var(--space-3xl) 0 var(--space-xl);
  margin-top: var(--space-3xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-2xl);
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.footer-col h4 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: var(--space-sm);
}

.footer-col a {
  color: #c8bfd4;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  text-align: center;
  padding: var(--space-xl) var(--space-lg) 0;
  margin-top: var(--space-xl);
  border-top: 1px solid rgba(255,255,255,0.1);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  font-size: 0.85rem;
}

.footer-disclaimer {
  font-size: 0.82rem;
  color: #a999b5;
  max-width: 600px;
  margin: 0 auto var(--space-md);
}

/* --- CTA Transition Page --- */
.cta-transition {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.cta-transition .card {
  max-width: 550px;
  margin: var(--space-2xl) auto;
}

.cta-transition h1 {
  margin-bottom: var(--space-md);
}

.cta-transition p {
  color: var(--color-text-light);
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mb-0 { margin-bottom: 0; }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* --- Inline links inside content --- */
.content-body a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Breadcrumb --- */
.breadcrumb {
  padding: var(--space-md) 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.breadcrumb a {
  color: var(--color-text-muted);
}

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

/* --- Highlight box --- */
.highlight-box {
  background: var(--color-bg-lavender);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  margin: var(--space-xl) 0;
}

/* --- Spacing for content pages that follow hero --- */
.no-hero + .section,
.no-hero + .legal-content {
  padding-top: var(--space-3xl);
}

/* ============ END OF STYLES ============ */
