/* d:\Antigravity\jose Schierano\web\src\index.css */
:root {
  --remax-red: #DC1C2E;
  --remax-blue: #003DA5;
  --remax-white: #FFFFFF;
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-700: #374151;
  --gray-900: #111827;
  --font-primary: 'Montserrat', 'Open Sans', sans-serif;
  --container-max: 1200px;
  --radius: 6px;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

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

body {
  font-family: var(--font-primary);
  background-color: var(--gray-50);
  color: var(--gray-700);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--remax-blue);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 5rem 0;
}

.bg-white { background: var(--remax-white); }
.bg-gray { background: var(--gray-100); }
.bg-blue { background: var(--remax-blue); color: var(--remax-white); }
.bg-blue h2 { color: var(--remax-white); }

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
}

.btn-primary { background-color: var(--remax-red); color: var(--remax-white); }
.btn-primary:hover { background-color: #B91726; }
.btn-outline-white { background: transparent; border: 2px solid var(--remax-white); color: var(--remax-white); }
.btn-outline-white:hover { background: var(--remax-white); color: var(--remax-blue); }

/* Header */
.header {
  background: var(--remax-white);
  border-bottom: 2px solid var(--remax-red);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-sm);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--remax-blue);
  letter-spacing: -1px;
}

.logo span { color: var(--remax-red); }

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  font-weight: 600;
  color: var(--gray-700);
}

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

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 61, 165, 0.85), rgba(0, 61, 165, 0.85)), url('images/hero_bg.png') center/cover;
  color: var(--remax-white);
  padding: 8rem 0;
  text-align: center;
}

.hero h1 {
  color: var(--remax-white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  color: var(--gray-200);
}

/* Grids */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2rem, 6vw, 3rem); }
  h1 { font-size: clamp(1.6rem, 5vw, 2.25rem) !important; }
  h2 { font-size: clamp(1.3rem, 4vw, 1.8rem) !important; }
  
  .hamburger-btn {
    display: flex !important;
  }
  
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-md);
    border-top: 2px solid var(--remax-red);
    gap: 1rem;
    z-index: 99;
  }

  .nav-links.active {
    display: flex !important;
  }
}

.hamburger-btn {
  display: none;
  background: transparent;
  border: none;
  color: var(--remax-blue);
  cursor: pointer;
  padding: 0.5rem;
}

/* Tarjetas (Cards) */
.card {
  background: var(--remax-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: transform 0.2s ease;
  width: 100%;
  max-width: 380px;
  margin: 0 auto;
}

.card:hover { transform: translateY(-5px); }

.card-img {
  width: 100%;
  height: 200px;
  background-color: var(--gray-200);
  object-fit: cover;
}

.card-content { padding: 1.5rem; }
.card-content h3 { margin-bottom: 0.5rem; }

/* Formularios */
.form-group { margin-bottom: 1rem; text-align: left; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}
.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--remax-blue);
  box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.1);
}

/* Perfil Image */
.profile-img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 4px solid var(--remax-white);
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 999;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

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

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-200);
  padding: 3rem 0;
  text-align: center;
}

.footer a { color: var(--remax-white); text-decoration: underline; }
