/*
Theme Name: RDM Asociados Theme
Theme URI: https://rdmyasociados.com.do
Author: RDM Development
Description: Tema personalizado y ultra-rápido para RDM & Asociados.
Version: 1.0
Text Domain: rdm-theme
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-color: #1a437b;
  --primary-light: #2b5c9e;
  --secondary-color: #5c2e0b;
  --secondary-light: #824716;
  --text-dark: #2d3748;
  --text-light: #ffffff;
  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --border-color: #e2e8f0;
  --font-main: 'Inter', sans-serif;
  --transition: all 0.3s ease;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

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

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.py-4 { padding: 4rem 0; }
.py-2 { padding: 2rem 0; }
.bg-white { background-color: var(--bg-white); }
.bg-light { background-color: var(--bg-light); }
.bg-primary { background-color: var(--primary-color); color: var(--text-light); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  color: #fff;
}

.btn-outline {
  border: 2px solid var(--text-light);
  color: var(--text-light);
  background: transparent;
}

.btn-outline:hover {
  background: var(--text-light);
  color: var(--primary-color);
}

/* Navigation */
header {
  background-color: var(--bg-white);
  box-shadow: var(--shadow);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--secondary-color);
  margin-left: 5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--secondary-color);
}

/* Hero Section */
.hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--text-light);
  padding: 10rem 20px;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10,37,64,0.9) 0%, rgba(26,58,90,0.8) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  color: var(--text-light);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
}

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

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--bg-white);
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: none;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.service-card p {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

/* Page Headers */
.page-header {
  background: var(--bg-light);
  color: var(--text-dark);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}
.page-header h1 {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Layout for internal pages */
.content-section {
  padding: 4rem 0;
  background: var(--bg-white);
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.content-section p {
  margin-bottom: 1rem;
  color: #444;
}

.content-section ul {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
  color: #444;
}

.content-section li {
  margin-bottom: 0.5rem;
}

/* CTA Banner */
.cta-banner {
  background: var(--bg-light);
  padding: 3rem 20px;
  text-align: center;
  border-radius: 8px;
  margin: 3rem 0;
  border: 1px solid var(--border-color);
}

.cta-banner h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

/* WhatsApp Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  color: #FFF;
}

/* Footer */
footer {
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 4rem 20px 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 2rem;
}

.footer-col h4 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-col p {
  color: var(--text-dark);
  font-size: 0.9rem;
  opacity: 0.8;
}

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

.footer-col ul li {
  margin-bottom: 0.8rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-col ul li a {
  color: var(--primary-color);
  font-weight: 500;
}

.footer-col ul li a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  margin-top: 2rem;
  color: var(--text-dark);
  opacity: 0.6;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero {
    padding: 6rem 20px;
  }
}

