/*.oswald-<uniquifier> {
           font-family: "Oswald", sans-serif;
           font-optical-sizing: auto;
           font-weight: <weight>;
           font-style: normal;
         }*/

* {
  font-family: "Roboto", "Oswald", sans-serif;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
  margin: 0;
  padding: 0;
  color: #333;
}

.main-content {
  padding: 80px 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Colores corporativos de CertiInmueble */
:root {
  --primary-color: #2c3e50;   /* Azul oscuro */
  --secondary-color: #e67e22; /* Naranja */
  --accent-color: #3498db;    /* Azul claro */
  --light-color: #ecf0f1;     /* Gris claro */
  --dark-color: #2c3e50;      /* Azul oscuro */
}

/* Material Design Elevation */
.mat-elevation-z0 {
  box-shadow: none;
}
.mat-elevation-z1 {
  box-shadow: 0 2px 1px -1px rgba(0,0,0,.2), 0 1px 1px 0 rgba(0,0,0,.14), 0 1px 3px 0 rgba(0,0,0,.12);
}
.mat-elevation-z2 {
  box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
}
.mat-elevation-z4 {
  box-shadow: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12);
}
.mat-elevation-z6 {
  box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
}

/* Material Card */
.mat-card {
  background-color: white;
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 32px;
  transition: box-shadow 0.3s;
}

.mat-card:hover {
  box-shadow: 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12), 0 3px 5px -1px rgba(0,0,0,.2);
}

/* Material Headlines */
.mat-headline {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 24px;
  color: var(--primary-color);
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 8px;
  display: inline-block;
}

/* Material Buttons */
.mat-button, .mat-raised-button {
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s, box-shadow 0.3s;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  margin: 8px 8px 8px 0;
  min-width: 64px;
  line-height: 36px;
}

.mat-button {
  background-color: transparent;
  color: var(--primary-color);
}

.mat-button:hover {
  background-color: rgba(44, 62, 80, 0.04);
}

.mat-raised-button {
  background-color: var(--secondary-color);
  color: white;
  box-shadow: 0 3px 1px -2px rgba(0,0,0,.2), 0 2px 2px 0 rgba(0,0,0,.14), 0 1px 5px 0 rgba(0,0,0,.12);
}

.mat-raised-button:hover {
  background-color: #d35400;
  box-shadow: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12);
}

.mat-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

.mat-icon-button:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

/* Material Inputs */
.mat-input-group {
  margin-bottom: 16px;
}

.mat-input-label {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.54);
  font-weight: 500;
}

.mat-input-container {
  position: relative;
}

.mat-input, .mat-select, .mat-textarea {
  width: 100%;
  padding: 10px 0;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.42);
  background: transparent;
  font-size: 16px;
  transition: border-bottom-color 0.3s;
}

.mat-input:focus, .mat-select:focus, .mat-textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--secondary-color);
}

.mat-select {
  appearance: menulist;
  height: 40px;
}

.mat-textarea {
  resize: vertical;
  min-height: 80px;
}

/* Material Checkbox */
.mat-checkbox, .mat-radio {
  display: inline-flex;
  align-items: center;
  margin-right: 16px;
  cursor: pointer;
}

.mat-checkbox-frame, .mat-radio-outer {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(0, 0, 0, 0.54);
  border-radius: 2px;
  margin-right: 8px;
  position: relative;
  transition: border-color 0.3s;
}

.mat-radio-outer {
  border-radius: 50%;
}

.mat-checkbox input:checked + .mat-checkbox-frame::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 10px;
  border: solid var(--secondary-color);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mat-radio input:checked + .mat-radio-outer::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 6px;
  height: 6px;
  background: var(--secondary-color);
  border-radius: 50%;
}

.mat-checkbox-label, .mat-radio-label {
  font-size: 14px;
}

/* Material Table */
.mat-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 2px 4px -1px rgba(0,0,0,.2), 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12);
}

.mat-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 500;
  text-align: left;
  padding: 16px;
}

.mat-table td {
  padding: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.mat-table tr:last-child td {
  border-bottom: none;
}

.mat-table tr:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

/* Material Snackbar */
.mat-snackbar {
  display: flex;
  align-items: center;
  background-color: #323232;
  color: white;
  padding: 14px 16px;
  border-radius: 4px;
  margin-top: 16px;
  box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
}

.mat-snackbar .material-icons {
  margin-right: 8px;
  color: #4caf50;
}

/* HERO SECTION */
.hero-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 48px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
}

.hero-content {
  flex: 1;
  padding: 32px;
  min-width: 300px;
}

.hero-image {
  flex: 1;
  min-width: 300px;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-section h1 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  color: var(--primary-color);
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 24px;
  color: rgba(0, 0, 0, 0.7);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
}

/* NAVIGATION */
.Top-Header {
  position: fixed;
  top: 0;
  background-color: var(--primary-color);
  width: 100%;
  z-index: 100;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  box-shadow: 0 3px 5px -1px rgba(0,0,0,.2), 0 6px 10px 0 rgba(0,0,0,.14), 0 1px 18px 0 rgba(0,0,0,.12);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
}

.logo-text {
  margin-left: 8px;
  font-weight: 500;
  font-size: 1.2rem;
}

.Menu-Horizontal {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .Menu-Horizontal {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background-color: var(--primary-color);
    flex-direction: column;
  }
  
  .Menu-Horizontal.show {
    display: flex;
  }
}

.Menu-Horizontal li {
  position: relative;
}

.mat-menu-item {
  color: white;
  text-decoration: none;
  padding: 0 16px;
  height: 64px;
  display: flex;
  align-items: center;
  transition: background-color 0.3s;
}

.mat-menu-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.with-chevron {
  display: flex;
  align-items: center;
}

.with-chevron .material-icons {
  margin-left: 4px;
  font-size: 18px;
}

.Menu-Vertical {
  background-color: white;
  display: none;
  list-style: none;
  position: absolute;
  width: 200px;
  padding: 8px 0;
  border-radius: 4px;
  z-index: 10;
}

.Menu-Horizontal li:hover .Menu-Vertical {
  display: block;
}

.Menu-Vertical li a {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  color: rgba(0, 0, 0, 0.87);
  text-decoration: none;
  transition: background-color 0.3s;
}

.Menu-Vertical li a:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.Menu-Vertical .material-icons {
  margin-right: 8px;
  font-size: 18px;
  color: var(--secondary-color);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

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

/* NOSOTROS SECTION */
.Nosotros {
  margin-top: 0;
}

.Nosotros-Contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-start;
}

.Nosotros-Texto {
  flex: 1;
  min-width: 300px;
  font-size: 1rem;
  line-height: 1.6;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  margin-top: 24px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 16px;
  min-width: 100px;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: bold;
  color: var(--secondary-color);
}

.stat-label {
  display: block;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.6);
}

.Nosotros-Video {
  flex: 1;
  min-width: 300px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* SERVICIOS SECTION */
.Servicios-Contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.servicio-item {
  flex: 1;
  min-width: 250px;
  text-align: center;
  padding: 24px;
  background: rgba(44, 62, 80, 0.05);
  border-radius: 8px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.servicio-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.servicio-icon {
  margin-bottom: 16px;
}

.servicio-icon .material-icons {
  font-size: 48px;
  color: var(--secondary-color);
}

.servicio-item h3 {
  margin: 0 0 16px;
  color: var(--primary-color);
}

.servicio-item p {
  color: rgba(0, 0, 0, 0.7);
  margin: 0;
}

/* BENEFICIOS SECTION */
.Beneficios-Contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}

.beneficios-list {
  flex: 1;
  min-width: 300px;
}

.beneficios-image {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.beneficios-image img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
}

.beneficio-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
}

.beneficio-item .material-icons {
  font-size: 36px;
  color: var(--secondary-color);
  margin-right: 16px;
  flex-shrink: 0;
}

.beneficio-item h3 {
  margin: 0 0 8px;
  color: var(--primary-color);
}

.beneficio-item p {
  margin: 0;
  color: rgba(0, 0, 0, 0.7);
}

/* SOLICITAR SECTION */
.Solicitar-Contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.Formulario-Solicitud {
  flex: 1;
  min-width: 300px;
}

.Solicitar-Instrucciones {
  flex: 1;
  min-width: 300px;
}

.info-card {
  background-color: #e3f2fd;
  padding: 16px;
}

.info-card h3 {
  display: flex;
  align-items: center;
  margin-top: 0;
  color: #0d47a1;
}

.info-card .material-icons {
  margin-right: 8px;
  color: #0d47a1;
}

.info-card ul {
  padding-left: 20px;
}

.info-card li {
  margin-bottom: 8px;
}

/* PREGUNTAS SECTION */
.Preguntas-Contenido {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.pregunta-item {
  flex: 1;
  min-width: 300px;
  padding: 16px;
  background: rgba(44, 62, 80, 0.05);
  border-radius: 8px;
  margin-bottom: 16px;
}

.pregunta-item h3 {
  margin: 0 0 12px;
  color: var(--primary-color);
}

.pregunta-item p {
  margin: 0;
  color: rgba(0, 0, 0, 0.7);
}

/* FOOTER */
.Footer {
  background-color: var(--primary-color);
  color: white;
  padding: 32px 16px 16px;
}

.Footer-Container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 32px;
}

.Footer-Brand {
  flex: 1;
  min-width: 200px;
}

.Footer-Logo {
  width: 60px;
  height: auto;
  margin-bottom: 8px;
  border-radius: 8px;
}

.Footer-Links {
  flex: 1;
  min-width: 200px;
}

.Footer-Links h4 {
  margin-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
}

.Footer-Links a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  margin: 8px 0;
  transition: color 0.3s;
}

.Footer-Links a:hover {
  color: white;
}

.Footer-Contact {
  flex: 1;
  min-width: 200px;
}

.Footer-Contact h4 {
  margin-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
}

.Footer-Contact p {
  display: flex;
  align-items: center;
  margin: 8px 0;
}

.Footer-Contact .material-icons {
  margin-right: 8px;
  font-size: 18px;
}

.Footer-Social {
  flex: 1;
  min-width: 200px;
}

.Footer-Social h4 {
  margin-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 8px;
}

.social-icons {
  display: flex;
  gap: 8px;
}

.social-icons a {
  color: white;
}

.Footer-Credits {
  text-align: center;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-content {
    padding-top: 72px;
  }
  
  .hero-section h1 {
    font-size: 2rem;
  }
  
  .mat-headline {
    font-size: 1.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .mat-button, .mat-raised-button {
    margin: 8px 0;
    width: 100%;
  }
  
  .beneficio-item {
    flex-direction: column;
    text-align: center;
  }
  
  .beneficio-item .material-icons {
    margin-right: 0;
    margin-bottom: 8px;
  }
}